azavea / pfb-network-connectivity

PFB Bicycle Network Connectivity
Other
40 stars 10 forks source link

Fix analyses using pre-2018 census data (#934) #935

Closed lydiascarf closed 1 year ago

lydiascarf commented 1 year ago

Overview

States like Alaska use census data from as far back as 2016. Our current default is 2019, but the import jobs script should recursively attempt prior years. This work stops recursive calls to fetch_census_data from crashing on 404s from the census data endpoint, which was happening when the most current census data for a state was prior to 2018.

Testing Instructions

Checklist

Resolves #934

lydiascarf commented 1 year ago

@KlaasH I like your organization so I just took it as is! Tested it and it runs well on my machine