Joins WCVP (World Checklist of Vascular Plants, Kew) native range
data to a taxify() result, filtered by TDWG botanical region.
Usage
add_wcvp(x, region, verbose = TRUE)
Arguments
- x
A data.frame returned by taxify().
- region
Character. TDWG Level 2 region code(s), or "all".
Single code (e.g., "EUR"): adds native_status column
(no suffix).
Multiple codes (e.g., c("EUR", "NAM")): adds
native_status_EUR, native_status_NAM.
"all": adds one column per region in the dataset.
- verbose
Logical. Default TRUE.
Value
The same data.frame with additional column(s):
- native_status
One of "native", "introduced", "extinct",
or NA if not recorded for that region.
Details
Source: WCVP (Kew, CC BY). Coverage: ~340k plant species.
Plants only.
Examples
# Runs offline against the bundled example database.
old <- options(taxify.data_dir = taxify_example_data())
taxify("Quercus robur") |>
add_wcvp(region = "EUR")
taxify("Quercus robur") |>
add_wcvp(region = c("EUR", "NAM"))
options(old)