CenterOnBudget / getcensus

Load American Community Survey data from the U.S. Census Bureau API into Stata
https://centeronbudget.github.io/getcensus/
MIT License
15 stars 3 forks source link

useful error message when API key is invalid #56

Closed c-zippel closed 2 years ago

c-zippel commented 2 years ago

If the API response is this https://api.census.gov/data/invalid_key.html, getcensus should throw a specific error. Currently it attempts to load in such a response as a dataset, which then causes ambiguous errors later. See #55.