metadata_grdc: Create Metadata for GRDC Dataset

View source: R/metadata_grdc.R

metadata_grdcR Documentation

Create Metadata for GRDC Dataset

Description

Returns metadataset for one country of local folder containing grdc-dataset.

Usage

metadata_grdc(Country, path)

Arguments

Country

character; Abbrevation used in GRDC Dataset for specific country. e.g. "DE" for Germany.

path

character; Pathway to local grdc_discharge folder on computer

Value

data.frame; metadata of GRDC -Dataset and a given Country. Metadata contains information about: Ther GRDC-number, the name of the river, the name of the station, the country, the catchment area, the altitude, the startmonth/startyear, the endmonth/endyear, the length of the timeseries, the longitude and the latitude.

Examples

## Not run: 
metadata_germany=metadata_grdc("DE","/Users/username/Desktop/folderone/datafolder/grdc_03_2021/grdc_disc/" )

## End(Not run)
#' @source \url{https://www.bafg.de/GRDC/EN/Home/homepage_node.html}


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