ts_get_data.Rd
Get Data
ts_get_data(
stations = NULL,
start_date = NULL,
end_date = NULL,
period = "hour",
na_rm = FALSE,
status = "questionable",
fill = TRUE,
conn = getOption("tsdbr.conn", NULL)
)
A character vector of the stations.
The start date.
The end date.
A string of the period to aggregate and average by. The possible values are 'year', 'month', 'day', 'hour', 'minute' and 'second'.
A flag indicating whether to remove missing values (if possible) when aggregating.
A string of the worse type of data to get. The possible values are 'reasonable', 'questionable' or 'erroneous'.
A flag indicating whether to fill in gaps (with missing values).
An object of class SQLiteConnection.
A data frame of the requested data.