Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [openfda]

Questions and answers surrounding the U.S. Food and Drug Administration's OpenFDA program.

9
votes
3answers
2k views

Query medicine descriptions API

I am looking for publicly available API for querying medicine's descriptions. For example, if I supply Carbidopa/Levodopa or Sinemet the expected return data (in json or xml format) is a simple ...
5
votes
5answers
704 views

Now I have an API key, how do I access OpenFDA?

The link I am told to use, https://api.fda.gov, redirects me to http://api.data.gov, which does NOT have an FDA option! In any case, that site has no place to enter the API key I got on the OpenFDA ...
4
votes
1answer
219 views

OpenFDA API : can we count on several fields?

Is it possible to get counts nested by 2 fields ? For example adverse events by patient sex and reaction type. The result would be something like a 2 dim array. edit (since this account doesn't have ...
2
votes
3answers
479 views

Where is the list of fields available through the openFDA API?

I was wondering how to create a query based off the examples, and the main question I have is where do the patient.drug.openfda.pharm_class_epc and patient.reaction.reactionmeddrapt come from? I ...
6
votes
2answers
235 views

openFDA: Can we print results for multiple patients at once?

Is there any way to get multiple patients' results in one output? I've noticed it defaults to show one patient's results at a time - and skipping allows you to see other patients - but is there any ...
7
votes
2answers
970 views

How to get all the DrugList

I want to fetch all the drugList, lets say -> DrugName, Manufacturer, Prescribed for, Description. I tried using https://api.fda.gov/drug/event.json?count=patient.drug.openfda.manufacturer_name.exact ...
6
votes
3answers
7k views

List of United States cities

I'm looking to get some data of this page http://www.greatschools.org/california/san-francisco/schools/?gradeLevels=e&page=2 To do it I need to create the links in this format: http://www....
6
votes
1answer
151 views

Search for deaths by a specific drug

I am not a programmer, so I am trying to understand the search methods to use when looking at OpenFDA. I am currently using the generic form for Reported Reactions. How do you get more the 10 adverse ...
5
votes
1answer
103 views

Multiple attributes available in a single OpenFDA query

Can I pull a single query that counts & breaks down adverse events reported for multiple attributes such as by year and by drug and by manufacturer? I've had success pulling counts by individual (...
3
votes
1answer
51 views

How quickly after FDA approval will adverse events be listed on openFDA?

I cannot seem to find information on what the lag time is between FDA approval (drug on market) and results for adverse events being listed on openFDA. Does anyone have an idea of the timeline? For ...
4
votes
1answer
121 views

openFDA endpoints not updated in over 2 months. Has this project been abandoned?

We are specifically interested in the "Devices › Adverse Events" data which until recently seemed to get updated monthly, usually within 2 weeks of the end of the month. We realize that this is a ...
3
votes
3answers
104 views

Seriousness values on OpenFDA

In looking at OpenFDA, I'd like to know the range of values for results.seriousnessother, results.seriousnesshospitalization, results.serious, and results.primarysource.qualification, as well as what ...
2
votes
1answer
42 views

Is there anyway to get the NDC code for a drug from the drug enforcement report fields?

Given the fields acquired from a drug enforcement report: country reason_for_recall classification recall_number recalling_firm initial_firm_notification code_info product_quantity event_id ...
1
vote
1answer
240 views

Python crashing when trying to read zipped json files [closed]

I downloaded the 2015 adverse drug events data from openfda and I want to run some analysis with python. I am a python newbie, but have become comfortable with the scikit-learn libraries, but I cannot ...