BIEN_trait_country {BIEN}R Documentation

Download trait data for given country.

Description

BIEN_trait_species extracts trait data for the species country.

Usage

BIEN_trait_country(
  country,
  trait.name = NULL,
  all.taxonomy = FALSE,
  political.boundaries = TRUE,
  source.citation = FALSE,
  ...
)

Arguments

country

A single country or a vector of countries.

trait.name

Optional. The trait or traits you want returned. If left blank, all traits will be returned.

all.taxonomy

Should full taxonomic information and TNRS output be returned? Default is FALSE.

political.boundaries

Should political boundary information (country, state, etc.) be returned? Default is FALSE.

source.citation

Should readable source information be downloaded for each record? Note that BIEN_metadata_citation may be more useful.

...

Additional arguments passed to internal functions.

Value

A dataframe of all available trait data for the given country.

See Also

Other trait functions: BIEN_trait_family(), BIEN_trait_genus(), BIEN_trait_list(), BIEN_trait_mean(), BIEN_trait_species(), BIEN_trait_traitbyfamily(), BIEN_trait_traitbygenus(), BIEN_trait_traitbyspecies(), BIEN_trait_traits_per_species(), BIEN_trait_trait()

Examples

## Not run: 
BIEN_trait_country("South Africa")
BIEN_trait_country(country="South Africa",trait="whole plant growth form")
## End(Not run)

[Package BIEN version 1.2.6 Index]