Currently, the census.py operations will download all shapefiles from the US Census FTP for a given year (2010 or 2018), merge them, standardize some fields, export to a variety of formats, geojson, shp, and pmtiles, and then upload these files to S3. However, we are not yet using these in the OEPS download packages, nor in the explorer map. To unify this, the following changes should be made:
[ ] Fix URL lists for FTP (I will do this)
[ ] Change the upload S3 paths to be within the /oeps/ prefix (may be good to make an argument for prefix to allow upload to different directories) (I will do this)
[ ] Ensure the geojson output, which we will be using for State and County layers, has the necessary fields (@bucketteOfIvy )
[ ] Load these two geojson files for the map directly from S3, not from local geojson, making sure to use the correct year (@bodom0015)
Once this is all pulled together, we can explore other ways of handling the ZCTA and Tract layers without relying on Mapbox.
Currently, the census.py operations will download all shapefiles from the US Census FTP for a given year (2010 or 2018), merge them, standardize some fields, export to a variety of formats,
geojson
,shp
, andpmtiles
, and then upload these files to S3. However, we are not yet using these in the OEPS download packages, nor in the explorer map. To unify this, the following changes should be made:geojson
output, which we will be using for State and County layers, has the necessary fields (@bucketteOfIvy )Once this is all pulled together, we can explore other ways of handling the ZCTA and Tract layers without relying on Mapbox.