coral
From traits v0.4.2
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
https://coraltraits.org/
Examples
# NOT RUN {
# Get the species and their Ids
head( coral_species() )
# Get data by taxon
coral_taxa(8)
# Get data by trait
coral_traits(3)
# Get data by methodology
coral_methodologies(2)
# Get data by location
coral_locations(132)
# Get data by resource
coral_resources(9)
# curl options
library("httr")
coral_taxa(8, config=verbose())
# }
Community examples
Looks like there are no examples yet.