This rnsii package programatically download Chinese biodiversity data from the National Specimen Information Infrastructure http://www.nsii.org.cn .

Installation

Current beta / GitHub release:

Installation using R package devtools:

if (!requireNamespace(c("devtools","tibble"), quietly = TRUE))
  install.packages("devtools","tibble")

devtools::install_github("Otoliths/rnsii",build_vignettes = TRUE)

Example

Load the rnsii package
library("rnsii")
Take "Artemisia argyi"
Download specimen data from the NSII
result1 <- get_nsii(query = "Artemisia argyi",offset = 0)
str(result1)
tibble::tibble(result1$data)
Download occurrence data from the NSII
result2 <- get_occ(query = "Artemisia argyi")
str(result2)

How to cite this package

citation("rnsii")

Contribution

Contributions to this package are welcome. The preferred method of contribution is through a GitHub pull request. Feel also free to contact us by creating an issue.



Otoliths/rnsii documentation built on March 28, 2021, 5:57 a.m.