CDECquery: CDECquery

Description Usage Arguments Details Value

Description

CDECquery function, edited from the sharpshootR package (original function author: Dylan Beaudette)

Usage

1
CDECquery(id, sensor, interval = "D", start, end)

Arguments

id

The three letter station ID, quoted and in all caps (for a full list of station ids, see: )

sensor

The number of the sensor you want (for a full list of sensors, see: )

interval

The code of the data duration you want: "D" for daily (default), "E" for event, or "M" monthly.

start

The start date of the data, in yyyy-mm-dd format

end

The end date of the data you want, in yyyy-mm-dd format

Details

For original documentation, see ?sharpshootR::CDECquery. For argument inputs, start and end dates must be in yyyy-mm-dd format, duration code and station id are quoted, sensor number is numeric.

Value

The data between the specified start_date and end_date, in table format


Myfanwy/DWRpackage documentation built on May 7, 2019, 5:13 p.m.