-
Notifications
You must be signed in to change notification settings - Fork 15
Adding total_vaccinations and population field at a national level #27
Comments
Hi @sanyam-git, The reason for not adding these fields so far was because the https://github.com/owid/covid-19-data project already does. But still, we could give it a try so we can have this info all in one API. Your points regarding how-to obtain the aggregated national values are quite relevant, as simply iterating over the available regional JSON files would not work. Some countries add "Misc", "Others" fields, which are removed in the process of generating the API. Data update processTo give you an overview, the data update is performed with the script update_all, which sequentially executes the following steps:
Note that in step 1.2 all special regions like "Misc", "Others" are discarded. Hence, recovering these at step 4. would be quite complex at the moment. Some ideas:
API proposalsProposal 1 (yours)
Proposal 2Having
Proposal 3
I would probably go for proposal 2 and leave the
Please let me know what you think! 😄 |
I'll be adding |
@lucasrodes, Thanks for giving a detailed info of the inner working of project. Here's my take :
I think that adding the Keep the good work :) 👍 |
Hi @sanyam-git, Thanks for your contribution 😄 ! |
Currently the country-wise
latest
andall
API have the following structure :Two more fields can be added :
total_vaccinations
andpopulation
as such:total_vaccination
:Miscellaneous
, so this can't be accounted to any region and should be reflected in the national total.population
:will be helpful in normalizing data as per capita. (I'm not sure about what source should be used here, maybe https://www.worldometers.info/world-population/)
The updates structure as :
The text was updated successfully, but these errors were encountered: