Using the reference lists

read_types()

Return the 'types' data source as a tibble with names & shortnames

read_env_pressures()

Return the 'env_pressures' data source as a tibble with human-readable attributes

Documentation of included data sources

types

Documentation of included data source 'types'

env_pressures

Documentation of included data source 'env_pressures'

namelist

Documentation of included data source 'namelist'

Using the raw spatial data sources of habitats/RIBs

read_habitatmap()

Return the data source habitatmap as an sf multipolygon layer

read_habitatstreams()

Return the data source habitatstreams as an sf linestring layer or as a list

read_habitatsprings()

Return the data source habitatsprings as an sf point layer

read_habitatquarries()

Return the data source habitatquarries

Using the processed spatial data sources of habitats/RIBs

read_habitatmap_stdized()

Return the data source habitatmap_stdized as a list of two objects

read_habitatmap_terr()

Return the data source habitatmap_terr as a list of two objects

read_watersurfaces_hab()

Return the data source watersurfaces_hab as a list of two objects

expand_types()

Expand a 'type' column in a data frame

Using the administrative & environmental data sources

read_admin_areas()

Return one of the available geospatial data sources representing administrative areas

read_ecoregions()

Return the ecoregions data source as an sf object

read_shallowgroundwater()

Return the data source shallowgroundwater as an sf multipolygon layer

read_soilmap()

Return the soilmap or soilmap_simple data source as an sf multipolygon layer

read_watersurfaces()

Return the data source watersurfaces as an sf polygon layer

read_watercourse_100mseg()

Return the processed data source watercourse_100mseg

read_GRTSmh()

Return the GRTSmaster_habitats data source or a 10-layered variant as a SpatRaster object

read_GRTSmh_base4frac()

Return the processed data source GRTSmh_base4frac as a SpatRaster

read_GRTSmh_diffres()

Return a SpatRaster or an sf polygon layer from the processed data source GRTSmh_diffres

read_raster_runif()

Return the data source raster_runif as a SpatRaster

Package configuration

n2khab_options()

Package configuration through options and environment variables

Managing files and directories

download_zenodo()

Get data from a Zenodo archive

locate_n2khab_data()

Locate the n2khab_data directory

fileman_folders()

Create a standard data folder structure and return the path to the n2khab_data folder

fileman_up()

Climb up in the file system hierarchy to find a file or folder

Utilities and helpers

read_namelist()

Return the 'namelist' data source as a tibble

convert_dec_to_base4frac()

Convert a vector of values from the GRTSmaster_habitats data source to base 4 fractions

convert_base4frac_to_dec()

Convert a vector of base 4 fractions into (truncated) decimal integer values

checksum() xxh64sum() md5sum() sha256sum()

Calculate file checksums