knitr::opts_chunk$set(collapse = TRUE, comment = "#>", eval = TRUE)
Installing and loading the package:
devtools::install_github("liibre/Rocc")
This package also downloads records from from GBIF and jabot collections. The function rgbif2()
encapulates funtions from rgbif package to receive a species scientific name and return the output as a .csv file written on disk.
#library(Rocc) devtools::load_all() # for development
# Using the funtion **rjabot** ## Search by species scientific name j01 <- rjabot(filename = "jabot-01", scientificName = "Prepusa montana")
## Example 02: search by species name and province j02 <- rjabot(filename = "jabot-02", scientificName = "Prepusa Montana", stateProvince = "Minas Gerais") ## Example 03: search by species name and collection j03 <- rjabot(filename = "jabot-03", scientificName = "Prepusa Montana", stateProvince = "RB") dim(j01$data) dim(j02$data) dim(j03$data) # all examples provide the same output :facepalm:
g01 <- rgbif2(filename = "gbif-01", species = "Aspidosperma limae") dim(g01) g02 <- rgbif2(filename = "gbif-02", species = "Aspidosperma melanocalyx") dim(g02)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.