Representable / representable

We’re creating maps of communities to fight for fair representation. Add your community to the map today and make your voice heard.
https://representable.org
GNU General Public License v3.0
15 stars 6 forks source link

New census files #818

Closed aceaton closed 3 years ago

aceaton commented 3 years ago

Handles new census data files

test

okay SO i made mbtiles for all the states, but only uploaded nm so far for testing because there's no one there so hopefully it won't mess anything up, anyway the issue is that the files actually have weird geoids now so if i uploaded them and didn't change prod it would break (like the ok/il thing). So either they have to be uploaded concurrently with changes to prod, or i have to except for the length of the geoid every time it's referenced, which i started doing but was afraid it would be buggy and overcomplicated because it happens in so many places (though let me know if you can think of a better way to do this because I'm probably missing something dumb). I could do ~10-state batch uploads over a couple nights or something. We could also upload the files under different names than the old ones. Anyway they're all ready so just lmk what to do.

k-y-le commented 3 years ago

I think it makes sense to name these files something different - that way we can get them all out in one push to prod, without having to do too many exceptions

I'm going to take a look at this soon and will report back with any comments/feedback!

k-y-le commented 3 years ago

Changes look good - I appear to be getting the population saved for block based communities as well now

Discovered a bug though, in that there seems to be a problem accessing the population for NH -- only discovered this for NH so far

After selecting a block group, the population never loads. image

When trying to select a census block, it won't allow it to go through and I get this error (this is after switching the units from block groups): image