parse_inaturalist_search: Parse iNaturalist Taxon Search Results

View source: R/inaturalist.R

parse_inaturalist_searchR Documentation

Description

Parse iNaturalist Taxon Search Results

Usage

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

Arguments

search

(response) Result of get_inaturalist_search.

types

(character vector) Data types to parse.

exact

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

scientific_name

(boolean) Whether to only keep results which a matching scientific name.

ignore.case

(boolean) Whether to ignore case.

See Also

Other iNaturalist functions: get_inaturalist_page, get_inaturalist_search, parse_inaturalist_page

Examples

s <- get_inaturalist_search("Malus domestica")
str(parse_inaturalist_search(s))

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