mos_metadata: Returns metadata for a given trait and species

View source: R/mos_metadata.R

mos_metadataR Documentation

Returns metadata for a given trait and species

Description

This function returns a dataframe containing the metadata for a given record (trait + spp) - including author, year, journal, database, and mosaic. See the MOSAIC user guide for more information. See mos_multiMetaRecords if searching metadata for > 1 species.

Usage

mos_metadata(trait, index)

Arguments

trait

Trait name of a factorial variable. Search mos_traitAllSpp(mosaic) for trait list if needed.

index

Index of the species of interest search "which(slot(mosaic, "species")==BinomialName)" for index.

Value

dataframe of metadata for a given species and trait record

Examples

mos_metadata("volancy", 14)

cdbernard/trypkg documentation built on March 29, 2022, 9:48 a.m.