Returns the raw data source ecoregions, with unique polygon identifiers polygon_code and polygon_id. Multiple polygons can have the same region_name. The coordinate reference system is 'BD72 / Belgian Lambert 72' (EPSG-code 31370).

read_ecoregions(file = file.path(locate_n2khab_data(), "10_raw/ecoregions"))

Arguments

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 vignette("v020_datastorage")). It uses the first n2khab_data folder that is found when sequentially climbing up 0 to 10 levels in the file system hierarchy, starting from the working directory.

Value

A Simple feature collection of geometry type MULTIPOLYGON.

Details

Original columns of the raw data source were mapped as:

  • CODE -> polygon_code

  • NR -> polygon_id

  • REGIO -> region_name

  • DISTRICT -> district_name

Apart from the label, there is no complementary information between polygon_code and polygon_id.

Examples

if (FALSE) {
ecoregions <- read_ecoregions()
ecoregions
}