is_native

0th

Percentile

Check if a species is native somewhere

This function check the status (native or exotic) of a species in a given place

For that end, calls itis_native{taxize} and fe_native{traits}. See help documentation of those functions for details.

So many more things can be done, like checking species first with taxize, adding more native lists to check...

Usage
is_native(sp, where, region = c("america", "europe"), ...)
Arguments
sp
character; a vector of length one with a single scientific species names in the form of c("Genus species").
where
character; a vector of length one with a single place. For America has to match one of those: "Continental US", "Alaska", "Canada", "Caribbean Territories", "Central Pacific Territories", "Hawaii", "Mexico". For Europe has to match one of those: "Albania"
region
character; a vector of length one with a single region. Only "europe" and "america" implemented "europe" checks Flora Europaea and only contain plants. "america" checks ITIS and contain both plant and animals.
...
Curl options passed on to GET
Value

  • A vectors saying if is native or exotic. When species is not found in the database its indicated.

Aliases
  • is_native
Examples
sp <- c("Lavandula stoechas", "Carpobrotus edulis", "Rhododendron ponticum",
       "Alkanna lutea", "Anchusa arvensis")
is_native(sp[1], where = "Islas_Baleares", region = "europe")
sapply(sp, is_native, where = "Continental US", region = "america")
sapply(sp, is_native, where = "Islas_Baleares", region = "europe")
Documentation reproduced from package traits, version 0.1.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.