R: Fast Tidy Tools for Date and Date-Time Manipulation

# Fast Tidy Tools for Date and Date-Time Manipulation

## Documentation for package ‘timeplyr’ version 1.1.2

- DESCRIPTION file
- Package NEWS
- Package README

## Help Pages

A C D G I M N R S T Y misc

## -- A --

age_months | Accurate and efficient age calculation
age_years | Accurate and efficient age calculation

## -- C --

calendar | Create a table of common time units from a date or datetime sequence.

## -- D --

decimal_year_month | Fast methods for creating year-months and year-quarters
decimal_year_quarter | Fast methods for creating year-months and year-quarters
diff_ | Fast rolling grouped lags and differences

## -- G --

get_time_delay | Get summary statistics of time delay
granularity | Time resolution & granularity
growth | Rolling basic growth
growth_rate | Fast Growth Rates

## -- I --

interval_count | S3-based Time Intervals (Currently very experimental and so subject to change)
interval_end | S3-based Time Intervals (Currently very experimental and so subject to change)
interval_range | S3-based Time Intervals (Currently very experimental and so subject to change)
interval_start | S3-based Time Intervals (Currently very experimental and so subject to change)
interval_width | S3-based Time Intervals (Currently very experimental and so subject to change)
isoday | Efficient, simple and flexible ISO week calculation
iso_week | Efficient, simple and flexible ISO week calculation
is_date | Utility functions for checking if date or datetime
is_datetime | Utility functions for checking if date or datetime
is_time | Utility functions for checking if date or datetime
is_timespan | Timespans
is_time_interval | S3-based Time Intervals (Currently very experimental and so subject to change)
is_time_or_num | Utility functions for checking if date or datetime
is_whole_number | Are all numbers whole numbers?

## -- M --

missing_dates | Check for missing dates between first and last date

## -- N --

new_timespan | Timespans
new_time_interval | S3-based Time Intervals (Currently very experimental and so subject to change)
n_missing_dates | Check for missing dates between first and last date

## -- R --

reset_timeplyr_options | Reset 'timeplyr' options
resolution | Time resolution & granularity
rolling_growth | Rolling basic growth
roll_diff | Fast rolling grouped lags and differences
roll_diff.default | Fast rolling grouped lags and differences
roll_diff.ts | Fast rolling grouped lags and differences
roll_diff.zoo | Fast rolling grouped lags and differences
roll_geometric_mean | Fast by-group rolling functions
roll_growth_rate | Fast by-group rolling functions
roll_harmonic_mean | Fast by-group rolling functions
roll_lag | Fast rolling grouped lags and differences
roll_lag.default | Fast rolling grouped lags and differences
roll_lag.ts | Fast rolling grouped lags and differences
roll_lag.zoo | Fast rolling grouped lags and differences
roll_mean | Fast by-group rolling functions
roll_na_fill | Fast grouped "locf" 'NA' fill
roll_sum | Fast by-group rolling functions

## -- S --

scale_x_year_month | Additional ggplot2 scales
scale_x_year_quarter | Additional ggplot2 scales
scale_y_year_month | Additional ggplot2 scales
scale_y_year_quarter | Additional ggplot2 scales

## -- T --

timespan | Timespans
timespan_num | Timespans
timespan_unit | Timespans
time_add | Add/subtract timespans to dates and date-times
time_breakpoints | Cut dates and datetimes into regularly spaced date or datetime intervals
time_breaks | Cut dates and datetimes into regularly spaced date or datetime intervals
time_by | Group by a time variable at a higher time unit
time_ceiling | Add/subtract timespans to dates and date-times
time_complete | A time based extension to 'tidyr::complete()'.
time_complete_missing | Vector date and datetime functions
time_cut | Cut dates and datetimes into regularly spaced date or datetime intervals
time_cut_n | Cut dates and datetimes into regularly spaced date or datetime intervals
time_cut_width | Cut dates and datetimes into regularly spaced date or datetime intervals
time_diff | Time differences by any time unit
time_elapsed | Fast grouped time elapsed
time_episodes | Episodic calculation of time-since-event data
time_expand | A time based extension to 'tidyr::complete()'.
time_floor | Add/subtract timespans to dates and date-times
time_gaps | Gaps in a regular time sequence
time_ggplot | Quick time-series ggplot
time_grid | Vector date and datetime functions
time_grid_size | Vector date and datetime functions
time_has_gaps | Gaps in a regular time sequence
time_id | Time ID
time_interval | S3-based Time Intervals (Currently very experimental and so subject to change)
time_is_regular | Is time a regular sequence? (Experimental)
time_num_gaps | Gaps in a regular time sequence
time_roll_apply | Fast time-based by-group rolling sum/mean - Currently experimental
time_roll_growth_rate | Fast time-based by-group rolling sum/mean - Currently experimental
time_roll_mean | Fast time-based by-group rolling sum/mean - Currently experimental
time_roll_sum | Fast time-based by-group rolling sum/mean - Currently experimental
time_roll_window | Fast time-based by-group rolling sum/mean - Currently experimental
time_roll_window_size | Fast time-based by-group rolling sum/mean - Currently experimental
time_round | Add/subtract timespans to dates and date-times
time_seq | Time based version of 'base::seq()'
time_seq_id | Generate a unique identifier for a regular time sequence with gaps
time_seq_sizes | Time based version of 'base::seq()'
time_seq_v | Time based version of 'base::seq()'
time_seq_v2 | Time based version of 'base::seq()'
time_subtract | Add/subtract timespans to dates and date-times
time_tbl_time_col | Group by a time variable at a higher time unit
transform_year_month | Additional ggplot2 scales
transform_year_quarter | Additional ggplot2 scales
ts_as_tbl | Turn 'ts' into a 'tibble'
ts_as_tbl.default | Turn 'ts' into a 'tibble'
ts_as_tbl.mts | Turn 'ts' into a 'tibble'
ts_as_tbl.timeSeries | Turn 'ts' into a 'tibble'
ts_as_tbl.xts | Turn 'ts' into a 'tibble'
ts_as_tbl.zoo | Turn 'ts' into a 'tibble'

## -- Y --

year_month | Fast methods for creating year-months and year-quarters
year_month_decimal | Fast methods for creating year-months and year-quarters
year_quarter | Fast methods for creating year-months and year-quarters
year_quarter_decimal | Fast methods for creating year-months and year-quarters
YM | Fast methods for creating year-months and year-quarters
YQ | Fast methods for creating year-months and year-quarters

## -- misc --

.duration_units | Time units
.extra_time_units | Time units
.period_units | Time units
.time_units | Time units