Package: n2khab 0.11.0

Floris Vanderhaeghe

n2khab: Providing Preprocessed Reference Data for Flemish Natura 2000 Habitat Analyses

The n2khab package is an R package with preprocessing functions and standard reference data, useful for analyses regarding Flemish Natura 2000 habitats and regionally important biotopes (RIBs).

Authors:Floris Vanderhaeghe [aut, cre], Toon Westra [aut], Cécile Herr [aut], Hans Van Calster [aut], Dries Adriaens [ctb], Maud Raman [ctb], Jan Wouters [ctb], Steven De Saeger [ctb], Els Lommelen [ctb], Luc Denys [ctb], An Leyssen [ctb], Patrik Oosterlynck [ctb], Jeroen Vanden Borre [ctb], Nathalie Cools [ctb], Bruno De Vos [ctb], Suzanna Lettens [ctb], Arne Verstraeten [ctb], Research Institute for Nature and Forest [cph]

n2khab_0.11.0.tar.gz
n2khab_0.11.0.zip(r-4.5)n2khab_0.11.0.zip(r-4.4)n2khab_0.11.0.zip(r-4.3)
n2khab_0.11.0.tgz(r-4.4-any)n2khab_0.11.0.tgz(r-4.3-any)
n2khab_0.11.0.tar.gz(r-4.5-noble)n2khab_0.11.0.tar.gz(r-4.4-noble)
n2khab_0.11.0.tgz(r-4.4-emscripten)n2khab_0.11.0.tgz(r-4.3-emscripten)
n2khab.pdf |n2khab.html
n2khab/json (API)
NEWS

# Install 'n2khab' in R:
install.packages('n2khab', repos = c('https://inbo.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/inbo/n2khab/issues

On CRAN:

habitatnatura2000preprocessing-functionsreproducibility

6.58 score 2 stars 1 packages 128 scripts 34 exports 42 dependencies

Last updated 2 months agofrom:74bce510ca. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-winOKNov 02 2024
R-4.5-linuxOKNov 02 2024
R-4.4-winOKNov 02 2024
R-4.4-macOKNov 02 2024
R-4.3-winOKNov 02 2024
R-4.3-macOKNov 02 2024

Exports:checksumconvert_base4frac_to_decconvert_dec_to_base4fracdownload_zenodoexpand_typesfileman_foldersfileman_uplocate_n2khab_datamd5sumn2khab_optionsread_admin_areasread_ecoregionsread_env_pressuresread_GRTSmhread_GRTSmh_base4fracread_GRTSmh_diffresread_habitatmapread_habitatmap_stdizedread_habitatmap_terrread_habitatquarriesread_habitatspringsread_habitatstreamsread_namelistread_raster_runifread_scheme_typesread_schemesread_shallowgroundwaterread_soilmapread_typesread_watercourse_100msegread_watersurfacesread_watersurfaces_habsha256sumxxh64sum

Dependencies:assertthatclassclassIntclicpp11curlDBIdplyre1071fansiforcatsgenericsgit2rgit2rdataglueKernSmoothlifecyclemagrittrMASSpillarpkgconfigplyrproxypurrrR6Rcppremotesrlangrprojroots2sfstringistringrtibbletidyrtidyselectunitsutf8vctrswithrwkyaml

Reference lists and using them

Rendered fromv010_reference_lists.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2023-12-01
Started: 2019-07-02

Where to store the N2KHAB input data sources

Rendered fromv020_datastorage.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2023-12-01
Started: 2019-07-02

Demonstrating package & data setup and handling of sf objects: a case with read_soilmap()

Rendered fromv022_example.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-10-03
Started: 2020-05-08

Working with geospatial data sources of habitat (sub)types and RIBs

Rendered fromv025_geospatial_hab.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2023-12-01
Started: 2020-01-30

Using the GRTS data sources

Rendered fromv030_GRTSmh.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2023-12-01
Started: 2019-07-02

Readme and manuals

Help Manual

Help pageTopics
Calculate file checksumschecksum md5sum sha256sum xxh64sum
Convert a vector of base 4 fractions into (truncated) decimal integer valuesconvert_base4frac_to_dec
Convert a vector of values from the 'GRTSmaster_habitats' data source to base 4 fractionsconvert_dec_to_base4frac
Get data from a Zenodo archivedownload_zenodo
Documentation of included data source 'env_pressures'env_pressures
Expand a 'type' column in a data frameexpand_types
Create a standard data folder structure and return the path to the 'n2khab_data' folderfileman_folders
Climb up in the file system hierarchy to find a file or folderfileman_up
Locate the 'n2khab_data' directorylocate_n2khab_data
Package configuration through options and environment variablesn2khab_options
Documentation of included data source 'namelist'namelist
Return one of the available geospatial data sources representing administrative areasread_admin_areas
Return the 'ecoregions' data source as an 'sf' objectread_ecoregions
Return the 'env_pressures' data source as a tibble with human-readable attributesread_env_pressures
Return the 'GRTSmaster_habitats' data source or a 10-layered variant as a SpatRaster objectread_GRTSmh
Return the processed data source 'GRTSmh_base4frac' as a SpatRasterread_GRTSmh_base4frac
Return a SpatRaster or an 'sf' polygon layer from the processed data source 'GRTSmh_diffres'read_GRTSmh_diffres
Return the data source 'habitatmap' as an 'sf' multipolygon layerread_habitatmap
Return the data source 'habitatmap_stdized' as a list of two objectsread_habitatmap_stdized
Return the data source 'habitatmap_terr' as a list of two objectsread_habitatmap_terr
Return the data source 'habitatquarries'read_habitatquarries
Return the data source 'habitatsprings' as an 'sf' point layerread_habitatsprings
Return the data source 'habitatstreams' as an 'sf' linestring layer or as a listread_habitatstreams
Return the 'namelist' data source as a tibbleread_namelist
Return the data source 'raster_runif' as a SpatRasterread_raster_runif
Return the data source 'shallowgroundwater' as an 'sf' multipolygon layerread_shallowgroundwater
Return the 'soilmap' or 'soilmap_simple' data source as an 'sf' multipolygon layerread_soilmap
Return the 'types' data source as a tibble with names & shortnamesread_types
Return the processed data source 'watercourse_100mseg'read_watercourse_100mseg
Return the data source 'watersurfaces' as an 'sf' polygon layerread_watersurfaces
Return the data source 'watersurfaces_hab' as a list of two objectsread_watersurfaces_hab
Documentation of included data source 'types'types