NYCPlanning / db-factfinder

data ETL for population fact finder (decennial + acs)
https://nycplanning.github.io/db-factfinder/factfinder/
MIT License
2 stars 3 forks source link

Refactor + Geography Conversion (base PR for refactor) #105

Closed SPTKL closed 3 years ago

SPTKL commented 3 years ago

The 2010_to_2020 geography aggregator is start but not completed. see factfinder/geography/2010_to_2020.py for methods to implement

100

remaining issues: calculate = Calculate(api_key, 2019, 'acs', '2010_to_2020')

mgraber commented 3 years ago

@SPTKL tract_to_nta and tract_to_cdta are now recursive within 2010_to_2020.py:

https://github.com/NYCPlanning/db-factfinder/blob/82b2b4464e672c07f2a371707f631871e9dbe06d/factfinder/geography/2010_to_2020.py#L99

https://github.com/NYCPlanning/db-factfinder/blob/82b2b4464e672c07f2a371707f631871e9dbe06d/factfinder/geography/2010_to_2020.py#L116

SPTKL commented 3 years ago

merging for now, further improvement will be made in separate PR