R/read_admin_areas.R
read_admin_areas.Rd
Returns an administrative geospatial data source. The coordinate reference system is 'BD72 / Belgian Lambert 72' (EPSG-code 31370).
read_admin_areas( file = file.path(locate_n2khab_data(), c("10_raw/flanders", "10_raw/provinces", "10_raw/sac")), dsn = c("flanders", "provinces", "sac") )
file | The absolute or relative file path of the data source.
The default follows the data management advice in the
vignette on data storage (run |
---|---|
dsn | A string, conforming to one of the data source names listed under
Usage.
Considering the default values of the Different data sources are handled differently by the function.
The |
A Simple feature collection of geometry type MULTIPOLYGON
or
POLYGON
.
See section Usage to see which N2KHAB data sources are
available.
You get a list of the data source names and related information with
XXXXXXXXX
.
You are referred to the raw N2KHAB-data collection
at Zenodo to learn
more about these data sources.
if (FALSE) { flanders <- read_admin_areas(dsn = "flanders") provinces <- read_admin_areas(dsn = "provinces") sac <- read_admin_areas(dsn = "sac") }