n2khab
R package with preprocessing functions and standard reference data for Flemish Natura 2000 (N2K) habitat (HAB) analyses
Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.7%) to scientific vocabulary
Keywords
Repository
R package with preprocessing functions and standard reference data for Flemish Natura 2000 (N2K) habitat (HAB) analyses
Basic Info
- Host: GitHub
- Owner: inbo
- License: gpl-3.0
- Language: R
- Default Branch: main
- Homepage: https://inbo.github.io/n2khab
- Size: 2.27 MB
Statistics
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 13
- Releases: 17
Topics
Metadata Files
README.md
Welcome
The n2khab R package provides preprocessing functions and standard reference data, supporting reproducible and transparent analyses on Flemish Natura 2000 (n2k) habitats (hab) and regionally important biotopes (RIBs).
The package's core aim is to provide readily standardized (preprocessed) data in your R environment. This facilitates collaboration and reproducibility.
The standard reference data include: checklists, spatial habitat distribution, administrative & environmental layers, GRTSmaster_habitats.
Installing and using the n2khab package
To install the current package version from the main branch (latest stable release), run:
r
install.packages("n2khab", repos = c(inbo = "https://inbo.r-universe.dev",
CRAN = "https://cloud.r-project.org"))
The above provides a pre-compiled package for Windows and macOS, which should be faster than below approach.
INBO staff should have the INBO repository enabled already (check with getOption("repos")), in which case install.packages("n2khab") is all you need!
If you want to install from the source repository, run:
r
Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS = "true") # as a precaution
remotes::install_github("inbo/n2khab",
build_vignettes = TRUE,
upgrade = TRUE)
Note that this will install the package from the main branch.
If you need a version from another branch, add the ref argument in the above function to provide the branch name.
Repeat the installation when you wish to upgrade.
Have a look at the vignettes to quickly find your way!
```r help(package = "n2khab")
vignettes only: browseVignettes("n2khab")
documentation of whole package: package?n2khab
```
Data setup
Please take note that you must set up the needed data sources as explained in vignette("v020_datastorage") and demonstrated in vignette("v022_example").
There is a major distinction between:
- raw data (Zenodo-link), to be stored in a folder
n2khab_data/10_raw; - processed data (Zenodo-link), to be stored in a folder
n2khab_data/20_processed.
You are welcome to contribute!
Please have a look at our contributing guide!
Intention for the future
At a later date, the intention is to incorporate functionality to enhance workflow reproducibility and ease the setup:
- let a user declare which versions of which data sources are used in an R workflow (at the beginning of a script or R markdown file);
- perform checks whether the needed versions of those data sources are locally present;
- if missing, download the needed data from the Zenodo collections.
Currently these aspects must be taken care of in a more manual fashion.
See vignette("v022_example") for example code to currently accomplish specific aspects.
Code of Conduct
Please note that the n2khab package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Owner
- Name: Research Institute for Nature and Forest (INBO)
- Login: inbo
- Kind: organization
- Location: Belgium
- Website: http://www.inbo.be/en
- Repositories: 125
- Profile: https://github.com/inbo
Open source, data and science initiatives of the Research Institute for Nature and Forest (INBO)
GitHub Events
Total
- Create event: 7
- Release event: 1
- Issues event: 2
- Delete event: 5
- Issue comment event: 17
- Push event: 33
- Pull request review comment event: 6
- Pull request review event: 17
- Pull request event: 12
Last Year
- Create event: 7
- Release event: 1
- Issues event: 2
- Delete event: 5
- Issue comment event: 17
- Push event: 33
- Pull request review comment event: 6
- Pull request review event: 17
- Pull request event: 12
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 41
- Total pull requests: 156
- Average time to close issues: about 2 months
- Average time to close pull requests: 6 days
- Total issue authors: 6
- Total pull request authors: 3
- Average comments per issue: 1.32
- Average comments per pull request: 0.67
- Merged pull requests: 152
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 8
- Average time to close issues: about 2 months
- Average time to close pull requests: 8 days
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 2.0
- Average comments per pull request: 0.63
- Merged pull requests: 6
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- florisvdh (36)
- cecileherr (2)
- falkmielke (1)
- ToonHub (1)
- hansvancalster (1)
- ThierryO (1)
Pull Request Authors
- florisvdh (148)
- cecileherr (9)
- ToonHub (4)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- R >= 3.5.0 depends
- assertthat * imports
- dplyr * imports
- forcats * imports
- git2rdata >= 0.4.0 imports
- magrittr * imports
- plyr * imports
- purrr * imports
- rlang * imports
- rprojroot * imports
- sf * imports
- stringr * imports
- tibble * imports
- tidyr >= 1.0.0 imports
- withr * imports
- bib2df * suggests
- curl * suggests
- digest * suggests
- googledrive * suggests
- jsonlite * suggests
- knitr * suggests
- mapview * suggests
- openssl * suggests
- parallel * suggests
- raster >= 3.3 suggests
- readxl * suggests
- remotes * suggests
- rmarkdown * suggests
- tidyverse * suggests
- tools * suggests
- units * suggests
- utils * suggests
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- actions/checkout v2 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- c-hive/gha-remove-artifacts v1 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite