rjabot: Gets occurrence data from jabot

View source: R/rjabot.R

rjabotR Documentation

Gets occurrence data from jabot

Description

This function gets occurrence data in Jabot's API (http://servicos.jbrj.gov.br/jabot/). Providing a scientific name for a species is mandatory.

Usage

rjabot(dir = "results/", filename = "output", species = NULL)

Arguments

dir

Path to directory where the file will be saved. Default is to create a "results/" directory

filename

Name of the output file

species

Genus or genus and epithet separated by space. More than one species can be concatenated into a vector. The request cannot be done with more than 50 species at a time. Use lapply, or any sort of loop when dealing with multiple species.

Value

A list of two elements. The first element is a character string containing the url search and the second element is a data.frame with the search result. It also saves the output on disk

Author(s)

Sara Mortara


LimaRAF/plantR documentation built on Jan. 1, 2023, 10:18 a.m.