JohnCRuf / alderman_machine

This is the repository for a research project investigating clientelistic politics in Chicago
3 stars 2 forks source link

Gather spatial data using census and google API's #7

Closed JohnCRuf closed 1 year ago

JohnCRuf commented 1 year ago

Develop an R or Python script that takes the location information from the menu data, processes it so that the census and/or Google location APIs can handle it, and obtains geographic coordinates. Then match this data with Chicago Political Map data, especially voting precinct data.

smacmullan commented 1 year ago

Should you need to do more geocoding at some point, I've had relative success using the Chicago street center lines data set to find the coordinates of intersecting streets.

Dataset: https://data.cityofchicago.org/Transportation/Street-Center-Lines/6imu-meau WIP API implementation by @kollerbud: https://github.com/smacmullan/chicago-participatory-urbanism/blob/main/chicago_participatory_urbanism/geocoder_api.py

JohnCRuf commented 1 year ago

Closing this for now, the current geolocation code seems to work well enough. I'll create a new issue for the WIP API.