Learn R Programming

laketemps (version 0.5.1)

get_metadata: get metadata for a lake in GLTC dataset

Description

Find associated metadata for a lake from the Global Lake Temperature Collaboration dataset. See associated publication and references therein for details including units and data provenance.

Usage

get_metadata(lake_name, metadata_name)

Arguments

lake_name
a valid name of a lake in the GLTC dataset (see get_lake_names). lake_name is case insensitive.
metadata_name
a name of a metadata variable in GLTC dataset (optional; see get_metadata_names). metadata_name is case insensitive.

Value

data.frame with metadata (if metadata_name is missing) or the value of that metadata field if metadata_name is specified

See Also

get_metadata_names, get_lake_names, get_climate_names

Examples

Run this code
get_metadata('Victoria','Sampling.depth')
get_metadata('Mendota')
get_metadata('mendota','sampling.depth')
get_metadata("Toolik.JJA",c('location','source'))

Run the code above in your browser using DataLab