GithubHelp home page GithubHelp logo

gautam-nayak / openfda Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fda/openfda

0.0 2.0 0.0 952 KB

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.

Home Page: https://open.fda.gov

License: Creative Commons Zero v1.0 Universal

openfda's Introduction

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, api.fda.gov/drug/enforcement.json, api.fda.gov/device/enforcement.json, and api.fda.gov/food/enforcement.json end points:

  • A python pipeline written with Luigi for processing data for each endpoint

  • The event.json pipeline processes 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).

  • The enforcement.json pipeline process the public RES HTML Enforcement Reports and RES XML Enforcement Reports into an Enforcement Report JSON format that can be loaded into Elasticsearch. The process includes extracting drug identifiers such as NDC and UPC from free text fields and adding an openfda section to the JSON containing additional drug information from other data sources (including FDA, NLM and VA).

  • Elasticsearch schemas for the Adverse Event and Enforcement Report JSON formats.

  • A Node.js API Server written with Express, Elasticsearch.js and Elastic.js that communicates with Elasticsearch and serves the public end points (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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.