db.select.timeseries: Query the database for timeseries data and metadata

Description Usage Arguments Value Author(s) See Also

View source: R/databaseOperations.R

Description

a function

Usage

1
db.select.timeseries(db, station.IDs, time.interval, type, element)

Arguments

db

Handle to MySQL database, taken from db.setup()

station.IDs

A vector of unique station ID's (called "codes" in the DB)

time.interval

One of "1hour", "1day", "month", "season, "year"

type

One of "N", "H" (case insensitive)

element

One of "RH", "RD", "RR" (case insensitive)

Value

An object of type "mqm.data.container" which contains a list of timeseries and metadata on those series. #@example data.container <- db.select.timeseries(db, c(260, 324, 343, 340), "1hour", "H", "RH")

Author(s)

Jurian

See Also

db.setup()


KNMI/Hackathon-RDWD-QualityMonitoring documentation built on May 23, 2019, 10:33 p.m.