NYCPlanning / labs-factfinder-api

Search API for for labs-nyc-factfinder
Other
7 stars 3 forks source link

Issue/16067 PFF Updates: Certain Decennial data is undefined #276

Closed horatiorosa closed 7 months ago

horatiorosa commented 8 months ago

Ticket

Issue 16067 Workflow branch strategy

Description

What's it all about? After loading new ACS and Decennial data, the male and female objects in the data variable in the updateChart function are undefined.

What should happen:

the data should contain class objects for both male and female

What happened instead:

the objects are undefined causing a fatal error in PFF

How to reproduce this bug:

  1. select any tract while in the issue/16067-pff branch (running both the pff api and labs layers locally)
  2. select View Data
  3. Check console error logs
horatiorosa commented 8 months ago

Errors linked to errors in the Decennial and ACS metadata json files (values in the wrong case, dashes in the data, other misc errors). DE is iterating to correct.