originr (version 0.4.0)

griis: Check invasive species status for a species from GRIIS database

Description

This retrieves information from GRIIS (http://www.griis.org/) and returns all the queried records. As other functions in this package, the function is as good as the database is.

Usage

griis(
  name = NULL,
  impacts = NULL,
  verified = NULL,
  country = NULL,
  kindom = NULL,
  type = NULL,
  ...
)

Arguments

name

character; a string with the scientific species name in the form of "Genus species". Default is NULL: return all records.

impacts

character; "Yes" for returning only records with impacts. Default to NULL: return all records.

verified

character; "Yes" for returning only verified records. Default to NULL: return all records.

country

character containing a valid name of a country for which to filter the results. Default to NULL: return all records.

kindom

character containing a valid name of a kindom (plantae, animalia, fungi, protozoa, chromista, others, ) for which to filter the results. Default to NULL: return all records.

type

character containing a valid name of a environment type (terrestrial, freshwater, marine, brackish, host) for which to filter the results. Default to NULL: return all records.

...

curl options passed on to HttpClient

Value

A data.frame with species names, country where recorded, origin and source among other fields.

Examples

Run this code
# NOT RUN {
griis(name = "Carpobrotus edulis")
griis(name = "Carpobrotus edulis", country = "Portugal")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab