parse_col_search: Parse Catalogue of Life (COL) Search Results

View source: R/col.R

parse_col_searchR Documentation

Description

Parse Catalogue of Life (COL) Search Results

Usage

parse_col_search(search, types = c("results", "ids"), exact = TRUE,
  scientific_name = TRUE, accepted_name = TRUE, ignore.case = TRUE)

Arguments

search

(response) Result of parse_col_search.

types

(character vector) Data types to parse.

exact

(boolean) Whether to keep only results that match the search string exactly.

scientific_name

(boolean) Whether to keep only results whose scientific name matches the search string.

accepted_name

(boolean) Whether to keep only results whose accepted name matches the search string.

ignore.case

(boolean) Whether to ignore case.

See Also

Other COL functions: build_col_scientific_name, get_col_page, get_col_search, parse_col_page

Examples

s <- get_col_search("Malus domestica")
str(parse_col_search(s))
str(parse_col_search(s, accepted_name = FALSE))
str(parse_col_search(s, exact = FALSE))

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