get_timeseries_values: Retrieve timeseries values

Description Usage Arguments Value Author(s)

View source: R/bomWater.R

Description

'get_timeseries_values' returns the timeseries values between a start and end date for given timeseries ID.

Usage

1
get_timeseries_values(ts_id, start_date, end_date, return_fields)

Arguments

ts_id

The timeseries ID for the values of interest. Can be found using the function 'get_timeseries_id'.

start_date

The start date formatted as 'YYYY-MM-DD'.

end_date

The end date formatted as 'YYYY-MM-DD'.

return_fields

A vector of the variables that are to be returned.

Value

A tibble with columns with the requested return_fields. A zero row tibble is returned if no data is returned from the query. The columns of the tibble are returned as character classes and have not been formatted to more appropriate correct classes (this happens in other functions).

Author(s)

Alexander Buzacott


bomWater documentation built on Sept. 16, 2020, 9:07 a.m.