tsGRDC: Interface for the Global Runoff Data Centre database of...

Description Usage Arguments Details Value Author(s) Examples

View source: R/GRDC.R

Description

This function interfaces the Global Runoff Data Centre monthly mean daily discharges database.

Usage

1
tsGRDC(stationID, plotOption = FALSE)

Arguments

stationID

7 string that identifies a station, GRDC station number is called "grdc no" in the catalogue.

plotOption

boolean to define whether to plot the results. By default this is set to TRUE.

Details

Please note that not all the GRDC stations listed in the catalogue have monthly data available.

Value

The function returns a list of 3 tables:

mddPerYear

This is a table containing mean daily discharges for each single year (n records, one per year). It is made of 7 columns which description is as follows:

mddAllPeriod

This is a table containing mean daily discharges for the entire period (Calculated only from years with less than 2 months missing). It is made of 6 columns which description is as follows:

mddPerMonth

This is a table containing mean daily discharges for each month over the entire period (12 records covering max. n years. Calculated only for months with less then or equal to 10 missing days). It is made of 7 columns which description is as follows:

Author(s)

Claudia Vitolo

Examples

1
2
3
4
5
6
## Not run: 
  Adaitu <- tsGRDC(stationID = "1577602")
  Adaitu <- tsGRDC(stationID = catalogueGRDC()$grdc_no[1000],
                   plotOption = TRUE)

## End(Not run)

hddtools documentation built on May 29, 2017, 9:38 p.m.