traits (version 0.1.0)

fe_native: Check species status (native, exotic, ...) for one species from Flora Europaea webpage

Description

This function check the status (native or exotic) of a species in each of the eu countries.

For that end, it checks Flora Europaea (http://rbg-web2.rbge.org.uk/FE/fe.html) and scrapes the data from there.

Note that the webpage contains more information.

As expected, the function is as good as the database is. I think for native species is robust but new exotic species are not added as to my knowledge the database is not updated anymore. The database is not able to recognize species synonyms.

See http://rbg-web2.rbge.org.uk/FE/data/countries for explanation of the database codes.

Usage

fe_native(sp, ...)

Arguments

sp
character; a vector of length one with a single scientific species names in the form of c("Genus species").
...
Curl options passed on to GET

Value

  • A list of vectors containing the countries where the species is native, exotic, ...

Examples

Run this code
sp <- c("Lavandula stoechas", "Carpobrotus edulis", "Rhododendron ponticum",
       "Alkanna lutea", "Anchusa arvensis")
fe_native(sp[1])
sapply(sp, fe_native, simplify = FALSE)

Run the code above in your browser using DataCamp Workspace