BasisResearch / cities

Home of Basis development for the 2023 TOP Sprint
MIT License
6 stars 0 forks source link

Adding population variable on the Census Tract level #124

Closed Niklewa closed 3 months ago

Niklewa commented 3 months ago

Adding a population variable and creating a source of truth for Census Tract variables.

Niklewa commented 3 months ago

In this PR, I have downloaded Census API data about the population from 2010 to 2022. Given the complexity of Census tracts, the dataset was split into pre- and post-2020 periods, reflecting changes in Census tract definitions.

Additionally, a new VariableCleanerCT class and CTDataGrabberCSV were developed for use with this data level. I have also created tests to verify the data's accuracy.

Interestingly, a linting problem arises during Git checks, my linting does not indicate any necessary changes.

Niklewa commented 3 months ago

I fixed the lint issue, I updated black library on my setup and it made the necessary changes.