getEpiData | R Documentation |
Retrieve up-to-date epidemiological data from outbreak.info according to user specifications
getEpiData( name = NULL, location_id = NULL, wb_region = NULL, country_name = NULL, state_name = NULL, admin_level = NULL, date = NULL, mostRecent = NULL, fields = NULL, sort = NULL, size = 1000 )
name |
vector of location names |
location_id |
vector of ISO3 code representing locations |
wb_region |
World Bank region name(s) |
country_name |
country name(s) |
state_name |
state name(s) |
admin_level |
an integer representing an administrative level (World Bank regions = -1, countries = 0, states/provinces = 1, metropolitan areas = 1.5, counties = 2) |
date |
date(s) (YYYY-MM-DD) |
mostRecent |
T/F |
fields |
vector of API fields to include in results |
sort |
parameter to sort results by |
size |
size |
dataframe
getEpiData(name="United States of America", date="2020-07-01")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.