I am writing a paper on adverse reaction mining, and I need to calculate ROR and PRR values of all adverse reactions of a drug. May I ask how to use openFDA to build query statements?
If you have an "Event of Interest" (e.g. DIARRHOEA) and a "Product of Interest" (e.g. IBUPROFEN), then by following this guide you would need the following queries:
Hopefully this is a good start.