Go to file
bspeice c22e50f7d3 Update README.md 2015-11-07 17:31:49 -05:00
data Moved files to base directory 2015-11-07 17:08:27 -05:00
exploration Add the MEPS scraping notebook 2015-11-07 16:33:42 -05:00
scripts PUF Download in R 2015-11-07 17:11:11 -05:00
shiny-app Moved files to base directory 2015-11-07 17:08:27 -05:00
FYCCodebook_2013.csv replace + 2015-11-07 16:46:08 -05:00
README.md Update README.md 2015-11-07 17:31:49 -05:00

README.md

MEPS Data Scraping

A product of Get Better With Data Team 4

Get Better With Data Hackathon - Team 4 Cleaning - Medical Expenditure Panel Survey Scraping


Using the data

All data is located in the /data folder as CSV files. There are two types:

  • Non-Enhanced: Raw data converted from MEPS into a plain CSV
  • Enhanced: Values for flags added to the dataset

Using the scripts

To fetch more data from MEPS, you need R. The important functions are located in /scripts/puf_download.R. You can download data for any dataset if you have the PUF (ex: HC-175E). An example usage is as follows:

short_puf <- shorten_puf("HC-175E")
download_puf(short_puf)
# The file h175e.csv will be created in the current directory

All PUF files, regardless of what dataset they come from, can be downloaded through this command.