Downloads zipped data from GISCO and extract them on the
cache_dir folder.
Arguments
- id_giscoR
Type of dataset to be downloaded. Values supported are:
"coastallines"."communes"."countries"."lau"."nuts"."urban_audit".
- year
Release year of the file. See Details.
- cache_dir
character string. A path to a cache directory. See Caching strategies section in
gisco_set_cache_dir().- update_cache
logical. Should the cached file be refreshed?. Default is
FALSE. When set toTRUEit would force a new download.- verbose
logical. If
TRUEdisplays informational messages.- resolution
character string or number. Resolution of the geospatial data. One of:
"60": 1:60million"20": 1:20million"10": 1:10million"03": 1:3million"01": 1:1million
- ext
Extension of the file(s) to be downloaded. Formats available are
"geojson","shp","svg","json","gdb". See Details.- recursive
Tries to unzip recursively the zip files (if any) included in the initial bulk download (case of
ext = "shp").
Details
See the years available in the corresponding functions:
The usual extension used across giscoR is "geojson",
however other formats are already available on GISCO.
See also
Other political:
gisco_get_units(),
gisco_get_urban_audit()
