Description Usage Arguments Value Examples
Get all live cases by type for a country. Country must be the slug from GetAvalaibleCountries() or GetCountrySummary(). Cases must be one of: confirmed, recovered, deaths. It could be filter by date an time.
1 2 3 4 5 6 | GetLiveCountry(
country.requested,
status.requested,
after.date = NA,
after.time = "00:00:00"
)
|
country.requested |
Country slug name choosed |
status.requested |
Status requested, they could be confirmed, recovered or deaths |
after.date |
Initial date to download data |
after.time |
Initial time to donload data, '00:00:00' is default |
Data frame columns country, Province, latitude, longitude, datetime, number of cases and status
1 2 3 4 5 6 7 8 9 10 11 12 | GetLiveCountry(country.requested = 'mexico', status.requested = 'confirmed')
GetLiveCountry(
country.requested = 'mexico',
status.requested = 'confirmed',
after.date = '2020-03-27'
)
GetLiveCountry(
country.requested = 'mexico',
status.requested = 'confirmed',
after.date = '2020-03-27',
after.time = '17:57:00'
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.