get_metadata: get metadata for a lake in GLTC dataset

Description Usage Arguments Value See Also Examples

View source: R/get_metadata.R

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

1
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

1
2
3
4
get_metadata('Victoria','Sampling.depth')
get_metadata('Mendota')
get_metadata('mendota','sampling.depth')
get_metadata("Toolik.JJA",c('location','source'))

Example output

[1] "skin-derived bulk temperature"
  siteID Lake.name lake.or.reservoir      location                     region
1    179   Mendota              Lake United States Northeastern North America
  latitude longitude geospatial.accuracy.km elevation.m mean.depth.m
1    43.09     -89.4                      5         259         12.8
  max.depth.m surface.area.km2 volume.km3  source sampling.depth sampling.time
1        25.3            39.37        0.5 in situ              0    9:00-15:00
  time.period                          contributor
1         JAS NTL LTER, Jordan Read jread@usgs.gov
[1] "0"
       location  source
1 United States in situ

laketemps documentation built on May 1, 2019, 6:33 p.m.