# Fast Tidy Tools for Date and Date-Time Manipulation

## Documentation for package ‘timeplyr’ version 0.8.2

- DESCRIPTION file.
- Package NEWS.

## Help Pages

A C D E F G I M N Q R S T U Y misc

timeplyr-package | timeplyr: Fast Tidy Tools for Date and Date-Time Manipulation

## -- A --

add_group_id | Fast group IDs
add_group_order | Fast group IDs
add_row_id | Fast group IDs
age_months | Accurate and efficient age calculation
age_years | Accurate and efficient age calculation
asc | Helpers to sort variables in ascending or descending order

## -- C --

calendar | Create a table of common time units from a date or datetime sequence.
crossed_join | A 'do.call()' and 'data.table::CJ()' method

## -- 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
desc | Helpers to sort variables in ascending or descending order
diff_ | Fast rolling grouped lags and differences
duplicate_rows | Find duplicate rows

## -- E --

edf | Grouped empirical cumulative distribution function applied to data

## -- F --

fadd_count | A fast replacement to dplyr::count()
farrange | A 'collapse' version of 'dplyr::arrange()'
fcomplete | Fast versions of 'tidyr::expand()' and 'tidyr::complete()'.
fcount | A fast replacement to dplyr::count()
fdistinct | Find distinct rows
fexpand | Fast versions of 'tidyr::expand()' and 'tidyr::complete()'.
fgroup_by | 'collapse' version of 'dplyr::group_by()'
frename | Fast 'dplyr::select()'/'dplyr::rename()'
frowid | Fast grouped row numbers
fselect | Fast 'dplyr::select()'/'dplyr::rename()'
fslice | Faster 'dplyr::slice()'
fslice_head | Faster 'dplyr::slice()'
fslice_max | Faster 'dplyr::slice()'
fslice_min | Faster 'dplyr::slice()'
fslice_sample | Faster 'dplyr::slice()'
fslice_tail | Faster 'dplyr::slice()'

## -- G --

get_time_delay | Get summary statistics of time delay
group_collapse | Key group information
group_id | Fast group IDs
group_order | Fast group IDs
growth | Rolling basic growth
growth_rate | Fast Growth Rates

## -- I --

interval_count | Time interval utilities
interval_end | Time interval utilities
interval_length | Time interval utilities
interval_range | Time interval utilities
interval_start | Time interval utilities
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_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 --

n_missing_dates | Check for missing dates between first and last date

## -- Q --

q_summarise | Fast grouped quantile summary

## -- R --

reset_timeplyr_options | Reset 'timeplyr' options
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
row_id | Fast group IDs
row_id.GRP | Fast group IDs

## -- 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
stat_summarise | Fast grouped statistical summary for data frames.

## -- T --

timeplyr | timeplyr: Fast Tidy Tools for Date and Date-Time Manipulation
time_aggregate | Aggregate time to a higher unit
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_by_span | Group by a time variable at a higher time unit
time_by_units | Group by a time variable at a higher time unit
time_by_var | Group by a time variable at a higher time unit
time_complete | A time based extension to 'tidyr::complete()'.
time_completev | Vector date and datetime functions
time_count | 'time_count' is deprecated
time_countv | Vector date and datetime functions
time_cut | 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_expandv | Vector date and datetime functions
time_gaps | Gaps in a regular time sequence
time_gcd_diff | Fast greatest common divisor of time differences
time_ggplot | Quick time-series ggplot
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_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_span | Vector date and datetime functions
time_span_size | Vector date and datetime functions
time_summarisev | Vector date and datetime functions
transform_year_month | Additional ggplot2 scales
transform_year_quarter | Additional ggplot2 scales
ts_as_tibble | Turn 'ts' into a 'tibble'
ts_as_tibble.default | Turn 'ts' into a 'tibble'
ts_as_tibble.mts | Turn 'ts' into a 'tibble'
ts_as_tibble.timeSeries | Turn 'ts' into a 'tibble'
ts_as_tibble.xts | Turn 'ts' into a 'tibble'
ts_as_tibble.zoo | Turn 'ts' into a 'tibble'

## -- U --

unit_guess | Guess time unit and extract basic information.

## -- 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
.roll_na_fill | Fast grouped "locf" 'NA' fill
.stat_fns | Fast grouped statistical summary for data frames.
.time_units | Time units