dst_change_summary {LightLogR}R Documentation

Get a summary of groups where a daylight saving time change occurs.

Description

Get a summary of groups where a daylight saving time change occurs.

Usage

dst_change_summary(dataset, Datetime.colname = Datetime)

Arguments

dataset

dataset to be summarized, must be a dataframe

Datetime.colname

name of the column that contains the Datetime data, expects a symbol

Value

a tibble with the groups where a dst change occurs. The column dst_start is a boolean that indicates whether the start of this group occurs during daylight savings.

See Also

Other DST: dst_change_handler()

Examples

sample.data.environment %>% 
  dplyr::mutate(Datetime = 
  lubridate::with_tz(Datetime, "Europe/Berlin") + lubridate::dweeks(10)) %>%
  dst_change_summary()

[Package LightLogR version 0.3.8 Index]