Skip to content
/ openfda Public
forked from FDA/openfda

openFDA is a research project to provide open APIs, raw data downloads, documentation and examples, and a developer community for an important collection of FDA public datasets.

License

Notifications You must be signed in to change notification settings

rkhaja/openfda

 
 

Repository files navigation

openFDA

Build Status

openFDA is a research project to provide open APIs, raw data downloads, documentation and examples, and a developer community for an important collection of FDA public datasets.

Please note that openFDA is a beta research project and not for clinical use. While we make every effort to ensure that data and logic are accurate, you should assume all results are unvalidated.

Contents

This repository contains the code which powers the api.fda.gov/drug/event.json end point:

  • A python pipeline written with Luigi for processing the public AERS SGML and FAERS XML Quarterly Data Extracts into an Adverse Event JSON format that can be loaded into Elasticsearch. This process includes de-duping follow-up reports and adding an openfda section to the drug section of the JSON containing additional drug information from other data sources (including FDA, NLM and VA).

  • An Elasticsearch schema for the Adverse Event JSON format.

  • A Node.js API Server written with Express, Elasticsearch.js and Elastic.js that communicates with Elasticsearch and provides the api.fda.gov/drug/event.json interface (documented in detail at http://open.fda.gov).

Prerequisites

  • Elasticsearch 1.2.0 or later
  • Python 2.7.*
  • Node 0.10.*

Packaging

Run bootstrap.sh to download and setup a virtualenv for the openfda python package and to download and setup the openfda-api node package.

About

openFDA is a research project to provide open APIs, raw data downloads, documentation and examples, and a developer community for an important collection of FDA public datasets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 47.9%
  • HTML 42.5%
  • JavaScript 7.7%
  • Shell 1.6%
  • Ruby 0.3%