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

https://coraltraits.org/

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

Community examples

Looks like there are no examples yet.