happyjack27 / autoredistrict

Programmatically makes a fair congressional district map (prevents gerrymandering)
GNU General Public License v3.0
89 stars 14 forks source link

Doesn't appear to work with the newest census release #211

Open yincrash opened 2 years ago

yincrash commented 2 years ago

The "Download data from the census" option doesn't work and the console is full of FNF Exceptions. There doesn't appear to be a way to import the data manually either.

Mon Sep 06 20:48:16 MDT 2021: Connection interrupted, resuming... 5 / 64
Mon Sep 06 20:48:16 MDT 2021: url: ftp://ftp2.census.gov/geo/tiger/TIGER2020BLKPOPHU/tabblock2020_56_pophu.zip
Mon Sep 06 20:48:16 MDT 2021: dest_file: G:\Documents\autoredistrict_data\Wyoming\2020\block_pop\block_pops.zip
happyjack27 commented 2 years ago

I'm aware of the issue with the ftp not working anymore. My plan is to switch it to an http download. Then I have to test it with the new 2020 census data. I've got to set aside some time to do all that.

Meanwhile, though, it should be possible to manually import all the data into a shapefile. If via no other means than by doing it with QGIS or ArcGIS. It's a bit of a process to get all the demographic data and election data in there. But really the minimum you should need is just shapefiles with a medium polygon resolution (census tracts or ideally voting tabulation districts aka wards), that have population data in them.

Regardless, I have to set aside some time do redo the census download part. Unfortunately, I have no other developers to help me. :-/

Kevin Baas Founder and Lead Developer AutoRedistrict

On Mon, Sep 6, 2021 at 10:00 PM Michael Yin @.***> wrote:

The "Download data from the census" option doesn't work and the console is full of FNF Exceptions. There doesn't appear to be a way to import the data manually either.

Mon Sep 06 20:48:16 MDT 2021: Connection interrupted, resuming... 5 / 64 Mon Sep 06 20:48:16 MDT 2021: url: ftp://ftp2.census.gov/geo/tiger/TIGER2020BLKPOPHU/tabblock2020_56_pophu.zip Mon Sep 06 20:48:16 MDT 2021: dest_file: G:\Documents\autoredistrict_data\Wyoming\2020\block_pop\block_pops.zip

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/happyjack27/autoredistrict/issues/211, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPM2QPLHCAVDA6OOEWYOBLUAV557ANCNFSM5DRNOWXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.