coral

0th

Percentile

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

http://coraltraits.org/

Aliases
  • coral
  • coral_locations
  • coral_methodologies
  • coral_resources
  • coral_species
  • coral_taxa
  • coral_traits
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())
Documentation reproduced from package traits, version 0.1.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.