coronainfonepal / coronainfonepal.github.io

All the curated information related to COVID-19 for Nepal
http://coronainfonepal.github.io
MIT License
2 stars 4 forks source link

Create a rake task to update the corona stats #17

Closed coolbrg closed 4 years ago

coolbrg commented 4 years ago

Corona stats has been extracted into separate yml file for easy manipulation like update by script.

https://github.com/coronainfonepal/coronainfonepal.github.io/blob/c8fef99949ccd5b098d37d20c335f003568ef401/_data/corona_stats.yml#L1-L18

Write a rake task which should update the corona stats through command line something like

rake corona_stats world:<cofirmed>,<deaths><recovered> nepal:<cofirmed>,<deaths><recovered>