get_data: Search for speciesLink registers

Description Usage Arguments Details Value Examples

View source: R/get_data.R

Description

Search for speciesLink registers based on the list.

Usage

1
get_data(list_data, filename = NULL)

Arguments

list_data

list. Object returned by setup_list(), or a named list with parameters to request download. To see the accepted parameters see type fields_data().

filename

Output filename. If is NULL (default) only returns a tibble.

Details

This function is based on CRIA speciesLink API v.0.1 beta, for more details see https://api.splink.org.br/.

Value

data.frame containing the records based on the request.

Examples

1
2
3
4
5
6
7
8
9
get_data(list_data = list(ScientificName = c("Manilkara maxima"),
                          MaxRecords = 5))
## Not run: 
get_data(list_data = list(ScientificName = c("Rauvolfia sellowii", "Cantinoa althaeifolia"),
                          StateProvince = c("São Paulo","Rio de Janeiro","Pernambuco"),
                          MaxRecords = 5,
                          Model = "Coords"))
                          
## End(Not run)

diogosbr/splink documentation built on Sept. 29, 2020, 12:48 a.m.