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

Small bug fix to remove hard-coded directory paths #28

Conversation

dhuppenkothen
Copy link
Contributor

Found a small bug where the code I copied from the notebook still had some hard-coded directory paths in it. This should hopefully fix it.

@mattgawarecki mattgawarecki merged commit a471e83 into Data4Democracy:master Feb 4, 2017
mattgawarecki pushed a commit that referenced this pull request Feb 15, 2017
* Data Wrangling for Drug Use Visualizations (#24)

* Pulling drug use classes out of the CMS PUF files for categorizing the Plan D data

* Fixed directory creating, refactored df, shortened loop

* Script for data reading/wrangling (#25)

* Fix gitignore to ignore XLSX/ZIP and move CMS data to its own dir

* Add drug names back into annual spending data, for ease of use

* Forgot to add notebook in last commit

* Fix exploration notebook after earlier changes

* Add .DS_Store files to .gitignore

* Remove Medicare drug spending dataset (migrated to data.world)

* Remove data in favor of using data.world

- (External) Move all data files to data.world repository (https://data.world/data4democracy/drug-spending)
- Remove data/ directory
- Correct notebook code to work with data.world as a source

* Wrote a helper function that gets data from a URL, wrote function that downloads Part D data based on notebook

* Added docstring to function

* Added more functions that load data wrangle it

* Added argument parser and squashed some bugs

* Removed dependence on openpyxl, since Pandas does the trick

* Notebook runs

* Minor change to command line arg and addition to help string

* Move comments into Markdown cells and add CSV output

* Added functionality to decide between input/output data formats; supports cvs and feather at the moment

* Small bug fix to remove hard-coded directory paths (#28)

* Markdown version of goals statement - first draft.

* add USP drug classification tidying and data dictionary

* Added anchor for citations and superscripted refs

* Cleaning drug manufacturer data

source:
https://www.cms.gov/Medicare/Medicare-Fee-for-Service-Part-B-Drugs/McrPartBDrugAvgSalesPrice/2016ASPFiles.html

* move USP Drug Classification to

* clarify usp drug classification data dict info

* small changes

* update links

* small changes

* download from data.world, clean up functions, add comments

* added direct link to the datasets of interest

* Restructuring of repo (#36)

* Reorganization FTW

* Reorganization FTW, part 2

* Add .gitignore

* Add READMEs to each subdirectory. Rename data dictionary template (now TEMPLATE) and remove suffix from manufacturer_datadict.md.

* Add link to data.world Python client

* Update main README to reflect new file structure

* Fix link to datadictionaries

* Really fix it this time

* Fix the other datadictionaries links to overview and template

* More streamlining and edits to README

* Add @skirmer to maintainers!

* Correct directory name for datadictionaries

* Add link to objectives doc

* Update datadictionaries/README.md to reflect updated repo structure

* update files to reflect repo structure changes
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.

None yet

2 participants