coral
From traits v0.1.0
by Scott Chamberlain
Search for coral data on coraltraits.org
Search for coral data on coraltraits.org
Usage
coral_taxa(taxon, taxonomy = FALSE, contextual = TRUE, global = FALSE,
...)coral_traits(trait, taxonomy = FALSE, contextual = TRUE, global = FALSE,
...)
coral_locations(location, taxonomy = FALSE, contextual = TRUE,
global = FALSE, ...)
coral_methodologies(methodology, taxonomy = FALSE, contextual = TRUE,
global = FALSE, ...)
coral_resources(resource, taxonomy = FALSE, contextual = TRUE,
global = FALSE, ...)
coral_species(...)
Arguments
- taxon
- A taxon id
- taxonomy
- logical; Include contextual data. Default: FALSE
- contextual
- logical; Include contextual data. Default: TRUE
- global
- logical; Include contextual data. Default: FALSE
- ...
- Curl options passed on to
GET
- trait
- A trait id
- location
- A location id
- methodology
- A methodology id
- resource
- A resource id
References
Examples
# Get the species and their Ids
head( coral_species() )
# Get data by taxon
coral_taxa(80)
# Get data by trait
coral_traits(105)
# Get data by methodology
coral_methodologies(2)
# Get data by location
coral_locations(132)
# Get data by resource
coral_resources(10)
# curl options
library("httr")
coral_taxa(80, config=verbose())
Community examples
Looks like there are no examples yet.