Learn R Programming

rnrfa (version 0.2.0)

NRFA_TS: This function retrieves time series of gauged daily flow from the NRFA database.

Description

Given the station ID number(s), this function retrieves data (time series in zoo format) and metadata.

Usage

NRFA_TS(ID)

Arguments

ID
station ID number(s), each number should be in the range [3002,236051].

Value

  • list composed of as many objects as in the list of station ID numbers. Each object can be accessed as x[[1]], x[[2]], and so forth. Each object contains a list of other two objects: data and metadata.

Examples

Run this code
# One station
NRFA_TS(3001)
# Multiple stations
# NRFA_TS(c(3001,3002,3003)); plot(x[[1]]$data)

Run the code above in your browser using DataLab