View source: R/get_RKI_spatial.R
get_RKI_spatial | R Documentation |
Downloads the latest version of a COVID-19 spatial dataset by the Robert Koch Institute. Please see the README for more information: https://github.com/nevrome/covid19germany
get_RKI_spatial( resolution = "Bundesland", urls = c(Bundesland = "https://opendata.arcgis.com/datasets/ef4b445a53c1406892257fe63129a8ea_0.zip", Landkreis = "https://opendata.arcgis.com/datasets/917fc37a709542548cc3be077a786c17_0.zip"), cache = T, cache_dir = tempdir(), cache_max_age = "today" )
resolution |
character. Resolution of the spatial data: "Bundesland" or "Landkreis" |
urls |
named character vector. Data source urls |
cache |
logical. Should the data be cached? |
cache_dir |
character. Path to cache directory |
cache_max_age |
numeric. Maximum age of cache in seconds |
An object of class sf with the dataset
rki_spatial_Bundesland <- get_RKI_spatial()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.