Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed ndc_parser to create separate CS/MOA lists #165

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

VidhiKulkarni
Copy link
Collaborator

The code reads the data files and writes the unique CS and MOA values from the pharm_classes into a list. The lists are in two separate files for easier viewing. I created a new function in the ndc_parser.py file called custom_dict_sweep, as the original dict_sweep function was causing errors because of unwanted values in the dictionary. The custom_dict_sweep function removes the empty lists/dicts from the dictionary (it cleans up the dictionary by removing unwanted fields from the data). I also added the print_list function in the ndc_parser.py file to print the values in two separate files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant