open-retirement / notes

notes on medicare "nursing home compare" data
1 stars 0 forks source link

Data extraction script #1

Open s2t2 opened 9 years ago

s2t2 commented 9 years ago

I'm thinking of writing a script to download and parse the CSV data from source (to replicate the manual steps I've taken to import the data into a database). It would be easy for me to do this in Ruby and optionally also to use Active Record to save the results in the database. Let me know if those technologies work, and if there is any preference between postgresql and mysql for the database.

s2t2 commented 9 years ago

presence of these socrata datasets (see bottom of the page at https://data.medicare.gov/data/nursing-home-compare) gives us more design flexibility.

for example we might be able to get away with not having a database, passing requests directly to the SODA api endpoints: