Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates for 2018 sldl sldu #163

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lukemckinstry
Copy link

the purpose of this PR is to add information regarding the opencivicdata identifiers for US state legislative districts (sldu and sldl) in 2018. The PR consists of adding an updated link to the census Gazetteer files from this page on census.gov: https://www.census.gov/geographies/reference-files/time-series/geo/gazetteer-files.html

And checks in the files mapping ocd-ids to census geoids for the sldl and sldu in this folder identifiers/country-us/census_autogenerated_18/

Note: I was unable to locate the updated census url for gathering obsolete sldl and sldu for these files. So unlike the 2012 and 2014 files, these 2018 files do not list obsolete districts at the bottom of the csv.

@jpmckinney jpmckinney added the US label Nov 13, 2019
Copy link
Contributor

@jdmgoogle jdmgoogle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After these files are updated, what's the next step in getting the country-us.csv file updated?

scripts/country-us/census_places.py Outdated Show resolved Hide resolved
scripts/country-us/census_places.py Outdated Show resolved Hide resolved
@lukemckinstry
Copy link
Author

lukemckinstry commented Dec 30, 2019

After these files are updated, what's the next step in getting the country-us.csv file updated?

For updating country-us.csv, you would run ./scripts/compile.py us. This script reads the csv files in identifiers/country-us/ and combines them into country-us.csv.
The sldl and sldu files in this PR (in identifiers/country-us/census_autogenerated_18/) are 2 of many files involved in making the us country csv but the only ones I worked with here (in order the get the census IDs for state leg districts), the census_geoid_18 column in these new files would generate a column with this name in country-us.csv when the ./scripts/compile.py us script is run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants