{"id":19595966,"url":"https://github.com/innovativeinventor/census-process","last_synced_at":"2026-06-09T22:31:04.167Z","repository":{"id":135191182,"uuid":"395719149","full_name":"InnovativeInventor/census-process","owner":"InnovativeInventor","description":"Processing pipeline for PL-94 U.S. Census redistricting data @mggg. Live at https://districtr.org","archived":false,"fork":false,"pushed_at":"2022-03-19T14:48:17.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-26T14:45:27.014Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://data.mggg.org.s3-website.us-east-2.amazonaws.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InnovativeInventor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-13T16:22:21.000Z","updated_at":"2022-01-27T04:15:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9ee93a8-2e40-4889-a68c-7c210fc5d831","html_url":"https://github.com/InnovativeInventor/census-process","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/InnovativeInventor/census-process","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2Fcensus-process","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2Fcensus-process/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2Fcensus-process/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2Fcensus-process/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InnovativeInventor","download_url":"https://codeload.github.com/InnovativeInventor/census-process/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2Fcensus-process/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34129072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T08:49:45.528Z","updated_at":"2026-06-09T22:31:04.141Z","avatar_url":"https://github.com/InnovativeInventor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## census-process\nThis is a processing pipeline for PL-94 U.S. Census redistricting data.\nIt turns raw Census data into usable shapefiles, which can then be imported and analyzed by GIS software like GeoPandas and QGIS.\nAdditionally, it produces composite racial/ethnic columns like `APBVAP20` (the number of persons that are any part black and of voting age).\n\nYou can download these shapefiles here: http://data.mggg.org.s3-website.us-east-2.amazonaws.com/census-2020/.\n\n## Usage\nRunning `main.py` will produce files inside the `final/` folder.\n\n```\npython main.py [state] [census_level] [census_ftp_location]\n```\n\nFor example, \n\n```\npython main.py AL block\n```\n\nwill produce files in `final/al/`.\n\nIf you want to generate shapefiles for the entire country, then run:\n```\nbash run.sh\n```\n\n## Included data/columns\nEvery racial/ethnic column used at at MGGG is generated by the pipeline.\nThis includes the following columns, which are broken out by category for easy reference.\nAll race/ethnic definitions are from the Census (except for the composite columns).\n\nRacial/ethnic columns:\n- BPOP20\n- OTHERPOP20\n- HISP20\n- NHPIPOP20\n- WPOP20\n- AMINPOP20\n- ASIANPOP20\n- 2MOREPOP20\n- TOTPOP20\n\nCorresponding racial/ethnic columns, voting age population:\n- BVAP20\n- OTHERVAP20\n- HVAP20\n- NHPIVAP20\n- WVAP20\n- AMINVAP20\n- ASIANVAP20\n- 2MOREVAP20\n- VAP20\n\nComposite columns:\n- APAMIPOP20 (any part american indian)\n- APAPOP20 (any part asian)\n- NWBHPOP20 (non black, white, or hispanic)\n- APBPOP20 (any part black)\n\nCorresponding composite columns, voting age population:\n- APAMIVAP20\n- APAVAP20\n- NWBHVAP20\n- APBVAP20\n\nCensus columns such as GEOID20 and NAME20 are also included.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnovativeinventor%2Fcensus-process","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finnovativeinventor%2Fcensus-process","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnovativeinventor%2Fcensus-process/lists"}