klenwell / covid-19

Python command-line application to collect and analyze COVID-19 data.
1 stars 0 forks source link

Unable to fetch Michigan test data. #26

Closed klenwell closed 4 years ago

klenwell commented 4 years ago

When I ran script just now, received this message:

$ python app.py kent-daily
Failed to fetch tests: 'M0'
klenwell commented 4 years ago

This is where it's likely failing:

klenwell commented 4 years ago

Resolved

The convoluted data structure returned by the government data service changed slightly. Updating the keys sorted matters out.

Also refactored extract and service classes slightly to help future maintenance.