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

View source: R/griis.R

griisR Documentation

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.

Note

It seems as 'name' overrides 'kindom', which means records from a a plant species will be returned even if kindom is set to animalia.

Author(s)

Ignasi Bartomeus nacho.bartomeus@gmail.com

Examples

## Not run: 
griis(name = "Carpobrotus edulis")
griis(name = "Carpobrotus edulis", country = "Portugal")

## End(Not run)


ropenscilabs/originr documentation built on May 18, 2022, 7:41 p.m.