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 #26

Closed JohnCRuf closed 11 months ago

JohnCRuf commented 1 year ago

This PR creates the infrastructure to gather and process the spatial data. The data are still in an early stage where lots of additional manual cleaning is required, however, this PR should be sufficient for the construction of preliminary figures and plots.

This PR closes out #7.

JohnCRuf commented 1 year ago

@tmalthouse please confirm that the data cleaning, geomatching, and combination code work on your computer and has proper documentation. Leave any comments about potential bugs or anything else.

Don't bother too much with the geocoding task: you need to have a google and census API key to run it.

JohnCRuf commented 1 year ago

I need to simplify the code for data_geomatch_menu. There should only be 4 scripts + functions, not 12+functions. One for points, lines, quadrilaterals, and pentagons.

It may be ideal to handle this via a compilation script in data_geocode_menu. That will greatly lower the number of files in circulation.

JohnCRuf commented 1 year ago

@tmalthouse whenever you got time take a look at this PR and see if you can run the first bit of each task

JohnCRuf commented 1 year ago

Don't worry about #19 until this one is merged