Interactive time unit operations

vg_year(x, step = 1, utc = FALSE)

vg_quarter(x, step = 1, utc = FALSE)

vg_month(x, step = 1, utc = FALSE)

vg_yearmonth(x, step = 1, utc = FALSE)

vg_date(x, step = 1, utc = FALSE)

vg_week(x, step = 1, utc = FALSE)

vg_day(x, step = 1, utc = FALSE)

vg_dayofyear(x, step = 1, utc = FALSE)

vg_hours(x, step = 1, utc = FALSE)

vg_minutes(x, step = 1, utc = FALSE)

vg_seconds(x, step = 1, utc = FALSE)

vg_milliseconds(x, step = 1, utc = FALSE)

Arguments

x

A data variable, used in conjunction with enc() or dplyr verbs. vg_count() can accept an empty input.

step

An integer to define the number of time steps.

utc

If TRUE, parse data in UTC time, otherwise in local time.