/ndc-scraper

The published National Drug Code Directory does not include expired products. So we scrape it to make a historic record.

Primary LanguagePython

NDC Data

This repo contains a version of the data files published by the US National Drug Code Directory.

The published version only contains drugs that are currently marketed; historic drugs are not included.

This makes the database incomplete with respect to projects that analyse historic prescribing data.

This repo uses Github Actions to fetch the data each day.

The diffs for these files will therefore contain products as they are removed and added.

I have also made a FOIA request to get historic data going back to 2009. If/when I get a response, I will update this repo.