Given the station identification number(s), this function
retrieves data (time series in zoo format with accompanying metadata) from
the WaterML2 service on the NRFA database. The time series can be of two
cmr (catchment mean rainfall, monthly) or
(gauged daily flows, daily).
get_ts( id, type, metadata = FALSE, cl = NULL, verbose = FALSE, full_info = FALSE )
station identification number(s), each number should be in the range [3002,236051].
The following data-types are available:
Logical, FALSE by default. If metadata = TRUE means that the result for a single station is a list with two elements: data (the time series) and meta (metadata).
(optional) This is a cluster object, created by the parallel package. This is set to NULL by default, which sends sequential calls to the server.
(FALSE by default). If set to TRUE prints GET request on the console.
Logical, FALSE by default. If full_info = TRUE, the function will retrieve info on rejected periods and return a data frame rather than a time series.
list composed of as many objects as in the list of station
identification numbers. Each object can be accessed using their names or
indexes (e.g. x[], x[], and so forth). Each object contains a time
series of class