Skip to contents

Get all corrected time series data in a folder containing multiple locations

Usage

getTimeSeriesByFolder(
  folder,
  parameters,
  labels,
  start,
  end,
  include_subfolders = TRUE
)

Arguments

folder

Limit results to locations in this folder. You must use the full folder name (e.g. "National Park Service.Klamath Network", not "Klamath Network")

parameters

Optional. A character vector of parameters to include. Retrieves data for all parameters if omitted.

labels

Optional. A character vector of labels to include. Retrieves data for all labels if omitted.

start

Optional. Only retrieve data after and including this date/time. Can be an R POSIXct object, or a character string in ISO 8601 format (YYYY-MM-DDThh:mm:ss+/-hh:mm)

end

Optional. Only retrieve data after and including this date/time. Can be an R POSIXct object, or a character string in ISO 8601 format (YYYY-MM-DDThh:mm:ss+/-hh:mm)

include_subfolders

Ignored if folder not specified. Indicates whether results should include locations in subfolders.

Value

A list of time series by location

Examples

if (FALSE) {
olym_clim_ts <- getTimeSeriesByFolder("OLYM_Climate", c("Air Temp", "Snow Depth"), c("Avg", "Depth"))
}