Fast Tidy Tools for Date and Date-Time Manipulation


[Up] [Top]

Documentation for package ‘timeplyr’ version 0.2.0

Help Pages

A B C D E F G H I L M N Q R S T U misc

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

-- A --

add_calendar Create a table of common time units from a date or datetime sequence.
add_group_id Fast group IDs
add_group_order Fast group IDs
add_row_id Fast group IDs
age_years Accurate and efficient age calculation
arithmetic_mean Unweighted & weighted arithmetic, geometric and harmonic mean
asc Helpers to sort variables in ascending or descending order

-- B --

bottom_n Top N most/least frequent values
bottom_n_tbl Top N most/least frequent values

-- 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 --

desc Helpers to sort variables in ascending or descending order
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()
fcummean Supplementary fast statistical functions, 'collapse' style
fdistinct Find distinct rows
fduplicates Find duplicate rows
fduplicates2 Find duplicate rows
fexpand Fast versions of 'tidyr::expand()' and 'tidyr::complete()'.
fgroup_by 'collapse' version of 'dplyr::group_by()'
fn Supplementary fast statistical functions, 'collapse' style
fnmiss Supplementary fast statistical functions, 'collapse' style
fprop_complete Supplementary fast statistical functions, 'collapse' style
fprop_missing Supplementary fast statistical functions, 'collapse' style
frename Fast 'dplyr::select()'/'dplyr::rename()'
frowid Fast grouped row numbers
fselect Fast 'dplyr::select()'/'dplyr::rename()'
fskim Fast alternative to 'skimr::skim()'
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 --

gduplicated Grouped 'unique()', 'sort()' and 'duplicated()'
geometric_mean Unweighted & weighted arithmetic, geometric and harmonic mean
get_time_delay Get summary statistics of time delay
gfirst Grouped statistical functions.
glast Grouped statistical functions.
gmax Grouped statistical functions.
gmean Grouped statistical functions.
gmedian Grouped statistical functions.
gmin Grouped statistical functions.
gmode Grouped statistical functions.
gnobs Grouped statistical functions.
gorder Grouped 'unique()', 'sort()' and 'duplicated()'
group_collapse Key group information
group_id Fast group IDs
group_order Fast group IDs
growth Rolling basic growth
growth_rate Fast Growth Rates
gsd Grouped statistical functions.
gsort Grouped 'unique()', 'sort()' and 'duplicated()'
gsum Grouped statistical functions.
gunique Grouped 'unique()', 'sort()' and 'duplicated()'
gvar Grouped statistical functions.
gwhich_duplicated Grouped 'unique()', 'sort()' and 'duplicated()'

-- H --

harmonic_mean Unweighted & weighted arithmetic, geometric and harmonic mean

-- I --

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_or_num Utility functions for checking if date or datetime
is_whole_number Are all numbers whole numbers?

-- L --

lag_seq Fast rolling lag
lump_bottom_n Top N most/least frequent values
lump_top_n Top N most/least frequent values

-- 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 --

rolling_growth Rolling basic growth
roll_apply Fast by-group rolling sum/mean
roll_geometric_mean Fast by-group rolling sum/mean
roll_growth_rate Fast Growth Rates
roll_harmonic_mean Fast by-group rolling sum/mean
roll_lag Fast rolling lag
roll_mean Fast by-group rolling sum/mean
roll_na_fill Fast grouped "locf" 'NA' fill
roll_sum Fast by-group rolling sum/mean
row_id Fast group IDs

-- S --

sequence2 Extension to 'base::sequence()'
seq_id Extension to 'base::sequence()'
seq_tbl Vectorised sequence with ID
seq_v Extension to 'base::sequence()'
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 Fast count, fill implicit missing gaps, and (time) aggregate a time series based data frame.
time_countv Vector date and datetime functions
time_cut Cut dates and datetimes into regularly spaced date or datetime intervals
time_diff Calculate time difference
time_diff_gcd Fast greatest common divisor of time differences
time_distinct A time based extension to 'dplyr::distinct()'.
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_ggplot Quick time-series ggplot
time_has_gaps Gaps in a regular time sequence
time_id Time ID
time_is_regular Is time a regular sequence? (Experimental)
time_lag Time-lagged values
time_mutate A time based extension to 'dplyr::mutate()'.
time_num_gaps Gaps in a regular time sequence
time_reframe A time based extension to 'dplyr::summarise()'/'dplyr::reframe()'
time_roll_apply Fast time-based by-group rolling sum/mean - Currently experimental
time_roll_diff Lagged time differences
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_summarise A time based extension to 'dplyr::summarise()'/'dplyr::reframe()'
time_summarisev Vector date and datetime functions
top_n Top N most/least frequent values
top_n_tbl Top N most/least frequent values
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.

-- misc --

.duration_units Time units
.extra_time_units Time units
.period_units Time units
.stat_fns Fast grouped statistical summary for data frames.
.time_units Time units