wm_records_name: Get records by single name, optional fuzzy matching

View source: R/wm_records_name.R

wm_records_nameR Documentation

Get records by single name, optional fuzzy matching

Description

Get records by single name, optional fuzzy matching

Usage

wm_records_name(name, fuzzy = TRUE, marine_only = TRUE, offset = 1, ...)

Arguments

name

(character) a taxonomic name, required.

fuzzy

(logical) fuzzy search. default: TRUE

marine_only

(logical) marine only or not. default: TRUE

offset

(integer) record to start at. default: 1

...

named curl options. see curl::curl_options

Value

A tibble/data.frame

Note

there is no underscore method like other functions in this package as there is already a plural version: wm_records_names()

Examples

## Not run: 
wm_records_name(name = 'Leucophaeus')
wm_records_name(name = 'Leucophaeus', fuzzy = FALSE)
wm_records_name(name = 'Leucophaeus', marine_only = FALSE)
wm_records_name(name = 'Platanista', marine_only = FALSE)
wm_records_name(name = 'Platanista', marine_only = FALSE, offset = 5)

## End(Not run)

ropensci/worrms documentation built on Feb. 5, 2024, 4:59 p.m.