NYCPlanning / db-equitable-development-tool

Data Repo for the equitable development tool (EDDT)
MIT License
0 stars 0 forks source link

Simplify how accessors are returned #259

Closed SashaWeinstein closed 1 year ago

SashaWeinstein commented 2 years ago

Currently we use two classes CensusAccessors and Accessors to get iterables of accessors. @td928 pointed out that functional instead of object oriented approach would be better as we don't need that much complexity. Upgrade is to have all accessors delivered by a single function that takes a category and year