metadata_repg: Representative Stations in Germany

View source: R/metadata_repg.R

metadata_repgR Documentation

Representative Stations in Germany

Description

Function is searching in input-metadata for representative stations. Depending on the settings, if mark=T it returns the original metadata and adds a column containing logical values. TRUE if station is representative, FALSE if its not. Or, if mark=F it returns a metadata-data.frame only containing the representative stations.

Usage

metadata_repg(metadata, mark = F)

Arguments

metadata

"matrix" "array" ; Metadata of grdc_dataset. Can be created by metadata_grdc function.

mark

logical; default=F; if FALSE: Function returns new, metadata containing representative stations. if TRUE: function returns same metadata (of GRDC-Germany Dataset) and adds column that identifies if station is representative.

Value

"matrix". Same Arrangement like metadata. Contains representative stations or marks representative stations in original/input metadata.

Examples

## Not run: metadata_repg(metadata_germany)
metadata_germany=metadata_repg(metadata_germany, mark=T)
## End(Not run)



maibrittbergh/dischanalyst documentation built on May 13, 2022, 1:52 a.m.