get_col_search: Get Catalogue of Life (COL) Search Results

View source: R/col.R

get_col_searchR Documentation

Description

Get Catalogue of Life (COL) Search Results

Usage

get_col_search(name, format = "json", response = "terse", start = 0)

Arguments

name

(character) String to search for. Must be at least 3 characters. Only exact matches are returned, unless a wildcard (*) is appended (allowed only at the end of the string).

format

(character) Result format: "json", "xml", or "php".

response

(character) Result type: "terse" (up to 500 results) or "full" (up to 50 results).

start

(numeric) Index of the first record to return.

Source

http://webservice.catalogueoflife.org/col/webservice

See Also

Other COL functions: build_col_scientific_name, get_col_page, parse_col_page, parse_col_search

Examples

s <- get_col_search("Malus domestica")
str(httr::content(s))

falling-fruit/fruitr documentation built on Dec. 21, 2024, 8:32 p.m.