NYCPlanning / db-equitable-development-tool

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

External review housing production #107

Closed td928 closed 2 years ago

td928 commented 2 years ago

still need to wait for Max changes merged in to create the final combined external review files. Script ready to be reviewed.

td928 commented 2 years ago

Hey @SashaWeinstein I think I was able to side step the join issue by setting the dataframe index to the geographies and then do pd.concat. I think it should handle the general case. Please let me know if this makes sense and happy to talk through if needed.

mbh329 commented 2 years ago

This looks good to me as well - I think we should try to settle on same naming conventions for our csv's similar to the way we write issues. happy to chat about this whenever

td928 commented 2 years ago

Hey @SashaWeinstein could you point to the file I made .csv.csv mistake. I don't think the final merged final has an extra csv extension

SashaWeinstein commented 2 years ago

Ok sorry I was wrong. The files with the .csv.csv already had them I think? In the files changed I get a couple of ...rnal_review/area_historic_by_puma.csv.csv → ...uction/puma/area_historic_by_puma.csv.csv and the same for citywide and borough

td928 commented 2 years ago

ok got it. I think this doesn't impact this work for now. Should we merge this in?

SashaWeinstein commented 2 years ago

Ok I think I figured out the issue, it's the historic indicators that are saved as .csv.csv in the internal review folders that these read from. Can you rename these and then we merge? Also @mbh329 can you do an eyeball check that the numbers for your indicator are the same in the internal review and the external? As an additional set of eyes for quality just to be sure. Sorry if this is overkill, we have a couple minutes before standup and I feel like we might as well just use this time to clean and check

SashaWeinstein commented 2 years ago

Eyeball checked housing production myself, it all looks good

mbh329 commented 2 years ago

The data for my indicator looks good, I checked it against a few pumas and boroughs

SashaWeinstein commented 2 years ago

Uploaded to digital ocean, all looks good

mbh329 commented 2 years ago

Awesome, looks great

td928 commented 2 years ago

Haven’t checked digital ocean and but this all look good.