summariseSitesByDateRange: summariseSitesByDateRange

View source: R/summariseSitesByDateRange.R

summariseSitesByDateRangeR Documentation

summariseSitesByDateRange

Description

Return mean median and standard deviation of value or diff column

Usage

summariseSitesByDateRange(
  df,
  date_start = lubridate::ymd_hm("2020-01-01 00:00"),
  date_end = lubridate::ymd_hm("2020-01-31 00:00"),
  by_code = F
)

Arguments

df

data frame containing date, value/diff and optionally code

date_start

POSIXct refering to the beginning of the period to be summarised

date_end

POSIXct refering to the end of the period to be summarised

by_code

logical, should the data be grouped by code

Author(s)

W. S. Drysdale


willdrysdale/AQVisR documentation built on July 24, 2022, 8:52 a.m.