This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' Simple example of reading all of the zip files from the openFDA download | |
and doing something with them. In this case, we are building an index | |
of all the medicinalproduct and drugcharacterization values and a count | |
of how often each occurred. | |
''' | |
from collections import defaultdict | |
import czipfile as zipfile |