When comparing the NDC drug data at
https://www.fda.gov/drugs/informationondrugs/ucm142438.htm and OpenFDA annotated data at https://open.fda.gov/apis/drug/ndc/download/ , I observed that the FDA dataset has 150,000+ entries, while NDC has around 130,000 entries.
I also had a look at the relevant code of openfda over here: https://github.com/FDA/openfda/blob/master/openfda/annotation_table/combine_harmonization.py
OpenFDA seems to rely mainly on NDC product.txt , but clearly, it seems to have has more data than NDC.
Could anyone shed more light on why there seems to be data discrepancy?