coronavirus-dashboard-api-python-sdk icon indicating copy to clipboard operation
coronavirus-dashboard-api-python-sdk copied to clipboard

Historical demographic data through the API

Open themonk911 opened this issue 5 years ago • 0 comments

Hi,

We're (https://github.com/GoogleCloudPlatform/covid-19-open-data) are interested in the time series of Covid positive cases aggregated by age and sex. Using the following structure for the API, I'm only able to get the most recent day's data, even though no latestBy argument is provided.

'structure': '{"date":"date","areaName":"areaName","maleCases":"maleCases","femaleCases":"femaleCases"}'}

Additionally, the API errors out (with error 500) when using any filter on areaType, but works when using areaName as a filter e.g. areaName=England is a fine filter, but areaType=nations does not work.

I note that we don't currently need the intersectional data of age+sex which is what the above provides, having the demographics data separately is also fine.

themonk911 avatar Sep 27 '20 20:09 themonk911