Description Usage Arguments Value Author(s) References See Also Examples
The function collects the updated COVID-19 data from the John Hopkins University.
1 | getDataCOVID(country, start = NULL, finish = NULL)
|
country |
name of the country. It should be a character string. |
start |
a start date in mm/dd/yy format. Start date can not be earlier than 01/22/20. Start date can not be later than finish date. If start date is |
finish |
a finish date in mm/dd/yy format. Finish date can not be earlier than start date. If finish date is |
a list of COVID-19 historical data including confirmed, death and recovered cases in desired time ranges.
Selcuk Korkmaz, selcukorkmaz@gmail.com
Peng, L., Yang, W., Zhang, D., Zhuge, C., Hong, L. 2020. “Epidemic analysis of COVID-19 in China by dynamical modeling”, arXiv preprint arXiv:2002.06563.
1 2 3 4 5 6 | covidData = getDataCOVID(country = "Italy",
start = "05/01/20",
finish = "12/31/20")
recovered = covidData$tableRecovered
deaths = covidData$tableDeaths
confirmed = covidData$tableConfirmed
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.