Closed vkoves closed 7 months ago
Looking at a data portal search for United Center it looks like the United Center did submit in 2019, and has data, so I don't know why this isn't rendering.
United Center 2019 data confirmed to be present in building-benchmarks.csv
file produced by process-data.py
as well.
It looks like the issue is related to the fact that the front-end wants to pull in property stats (e.g. Avg. Electricity Use for Indoor Arenas) but the stats don't exist for older buildings:
The fix is that if we're showing archival data (not the current year) we should not try to render property type stats. Even if the property type still exists, the stats are all for the latest year (2021) and so wouldn't be useful. The Art Institute works as an archive example, but we should list that medians are for 2021.
Resolved with PR #59!