JamesSaxon / access-old

Python module to calculate spatial access scores.
http://access.readthedocs.io
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Examples Directory #4

Open JamesSaxon opened 5 years ago

JamesSaxon commented 5 years ago

Add example for primary care in Illinois -- populations (TP2I1), times, and primary care physicians (TG_DOC) and dentists (TDNTNF_PRA`) -- and Illinois census tract geometry as centroids.

https://data.hrsa.gov/hdw/data/datadownload/pcsa2010Download.aspx

JamesSaxon commented 5 years ago

Just following up on the example directory (this is for the week of July 15) for IL, for unit tests.

I see two options for homes for this data.

  1. We were planning to host the OD matrices on the rcc account, so it could go there.
  2. It could go on figshare, as times.csv.bz2 currently is.

Either way, you would just check to see if the file exists and, if not, ask the user and wget it. There is a nice python wget library, and I believe urllib can also do it. (Obviously, for unit tests, there should be a flag to bypass the user input.)