Summarise WFO Plant List suggestions into one accepted-name interpretation
per input scientific name. Lookup functions such as scientific_name() handle
Japanese name to scientific name lookup; this helper handles scientific name
to WFO candidate, accepted name, WFO ID, rank, and status checks.
Usage
wfo_accepted_name(
scientific_name,
rank = "species",
with_author = TRUE,
limit = 10,
cache = TRUE,
refresh = FALSE,
delay = 0.2,
backend = c("api", "local")
)Arguments
- scientific_name
Character vector of scientific names.
- rank
Character scalar rank to prefer, usually
"species".Logical. If
TRUE, return the accepted name with authors when available. IfFALSE, return the no-author accepted name inaccepted_name.- limit
Integer. Maximum number of WFO suggestions to request per unique scientific name.
- cache
Logical. If
TRUE, raw API responses are cached locally.- refresh
Logical. If
TRUE, ignore an existing cached response and fetch from the WFO API again.- delay
Numeric. Seconds to wait between uncached API requests.
- backend
Character. Only
"api"is implemented."local"is reserved for future WFO release support.
Details
WFO API access is intended for small-scale interactive checks. These functions do not automatically replace checklist names with WFO accepted names.
Examples
if (FALSE) { # \dontrun{
wfo_accepted_name("Quercus serrata")
wfo_accepted_name("Quercus serrata", with_author = FALSE)
wfo_accepted_name(scientific_name("\u30b3\u30ca\u30e9"))
} # }