This is the code running in AWS Lambda powering covid-api.mmediagroup.fr/v1. The API provides realtime and historical data on Coronavirus COVID-19 confirmed cases, deaths, and recovered cases. This API has now been called over 40 million times, thank you!
Number of people_vaccinated and people_partially_vaccinated is wrong for certain countries (Canada, India, UK, ...).
For example, /vaccines?country=Canada returns
This is because Province_State column was added by the vaccine data provider.
Data of the country having Province_State column seems to be overwritten by the next row.
, Canada, ...
Alberta, Canada, ...
British Columbia, Canada, ...
Number of
people_vaccinated
andpeople_partially_vaccinated
is wrong for certain countries (Canada, India, UK, ...). For example,/vaccines?country=Canada
returnsThis is because
Province_State
column was added by the vaccine data provider. Data of the country havingProvince_State
column seems to be overwritten by the next row.I suggest the solutions:
/vaccines?country=foo
returns only 'All'./vaccines?country=foo
returns "All" and provinces.