tz_apply_offset: Apply tz offset without changing timezone

tz_apply_offsetR Documentation

Apply tz offset without changing timezone

Description

Apply tz offset without changing timezone

Usage

tz_apply_offset(data, tz_offset, cols = "time")

Arguments

data

Data frame with "col" column

tz_offset

Numeric. Number of hours for the offset

cols

Character vector. Time columns over which to apply the offset

Applies a straight time shift to time columns and records this as an additional column 'tz_offset'. If a 'tz_offset' has already been applied, it is first removed.


steffilazerte/cavityuse documentation built on Aug. 4, 2022, 11:22 p.m.