Package: timeplyr 0.9.0.9000
Nick Christofides
timeplyr: Fast Tidy Tools for Date and Date-Time Manipulation
A set of fast tidy functions for wrangling, completing and summarising date and date-time data. It combines 'tidyverse' syntax with the efficiency of 'data.table' and speed of 'collapse'.
Authors:
timeplyr_0.9.0.9000.tar.gz
timeplyr_0.9.0.9000.zip(r-4.5)timeplyr_0.9.0.9000.zip(r-4.4)timeplyr_0.9.0.9000.zip(r-4.3)
timeplyr_0.9.0.9000.tgz(r-4.4-x86_64)timeplyr_0.9.0.9000.tgz(r-4.4-arm64)timeplyr_0.9.0.9000.tgz(r-4.3-x86_64)timeplyr_0.9.0.9000.tgz(r-4.3-arm64)
timeplyr_0.9.0.9000.tar.gz(r-4.5-noble)timeplyr_0.9.0.9000.tar.gz(r-4.4-noble)
timeplyr_0.9.0.9000.tgz(r-4.4-emscripten)timeplyr_0.9.0.9000.tgz(r-4.3-emscripten)
timeplyr.pdf |timeplyr.html✨
timeplyr/json (API)
NEWS
# Install 'timeplyr' in R: |
install.packages('timeplyr', repos = c('https://nicchr.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/nicchr/timeplyr/issues
Last updated 3 days agofrom:5bebe5872c. Checks:9 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Jan 18 2025 |
R-4.5-win-x86_64 | OK | Jan 18 2025 |
R-4.5-linux-x86_64 | OK | Jan 18 2025 |
R-4.4-win-x86_64 | OK | Jan 18 2025 |
R-4.4-mac-x86_64 | OK | Jan 18 2025 |
R-4.4-mac-aarch64 | OK | Jan 18 2025 |
R-4.3-win-x86_64 | OK | Jan 18 2025 |
R-4.3-mac-x86_64 | OK | Jan 18 2025 |
R-4.3-mac-aarch64 | OK | Jan 18 2025 |
Exports:.duration_units.extra_time_units.period_units.time_unitsage_monthsage_yearscalendardecimal_year_monthdecimal_year_quarterdiff_get_time_delaygranularitygrowthgrowth_rateinterval_countinterval_endinterval_rangeinterval_startinterval_widthis_dateis_datetimeis_timeis_time_intervalis_time_or_numis_timespanis_whole_numberiso_weekisodaymissing_datesn_missing_datesnew_time_intervalnew_timespanreset_timeplyr_optionsresolutionroll_diffroll_geometric_meanroll_growth_rateroll_harmonic_meanroll_lagroll_meanroll_na_fillroll_sumrolling_growthscale_x_year_monthscale_x_year_quarterscale_y_year_monthscale_y_year_quartertime_breakstime_bytime_completetime_complete_missingtime_cuttime_cut_ntime_cut_widthtime_difftime_elapsedtime_episodestime_expandtime_gapstime_ggplottime_gridtime_grid_sizetime_has_gapstime_idtime_intervaltime_is_regulartime_num_gapstime_roll_applytime_roll_growth_ratetime_roll_meantime_roll_sumtime_roll_windowtime_roll_window_sizetime_seqtime_seq_idtime_seq_sizestime_seq_vtime_seq_v2time_tbl_time_coltimespantimespan_numtimespan_unittransform_year_monthtransform_year_quarterts_as_tblyear_monthyear_month_decimalyear_quarteryear_quarter_decimalYMYQ
Dependencies:cheaprclicollapsecolorspacecpp11cppdoublesdata.tabledplyrfansifarverfastplyrgenericsggplot2gluegtableisobandlabelinglatticelifecyclelubridatemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerRcpprlangscalesstringistringrtibbletidyselecttimechangeutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
timeplyr: Fast Tidy Tools for Date and Date-Time Manipulation | timeplyr-package timeplyr |
Time units | .duration_units .extra_time_units .period_units .time_units |
Accurate and efficient age calculation | age_months age_years |
Create a table of common time units from a date or datetime sequence. | calendar |
Get summary statistics of time delay | get_time_delay |
Rolling basic growth | growth rolling_growth |
Fast Growth Rates | growth_rate |
Utility functions for checking if date or datetime | is_date is_datetime is_time is_time_or_num |
Are all numbers whole numbers? | is_whole_number |
Efficient, simple and flexible ISO week calculation | isoday iso_week |
Check for missing dates between first and last date | missing_dates n_missing_dates |
Reset 'timeplyr' options | reset_timeplyr_options |
Time resolution & granularity | granularity resolution |
Fast rolling grouped lags and differences | diff_ roll_diff roll_diff.default roll_diff.ts roll_diff.zoo roll_lag roll_lag.default roll_lag.ts roll_lag.zoo |
Fast grouped "locf" 'NA' fill | roll_na_fill |
Fast by-group rolling functions | roll_geometric_mean roll_growth_rate roll_harmonic_mean roll_mean roll_sum |
Group by a time variable at a higher time unit | time_by time_tbl_time_col |
Cut dates and datetimes into regularly spaced date or datetime intervals | time_breaks time_cut time_cut_n time_cut_width |
Time differences by any time unit | time_diff |
Fast grouped time elapsed | time_elapsed |
Episodic calculation of time-since-event data | time_episodes |
A time based extension to 'tidyr::complete()'. | time_complete time_expand |
Gaps in a regular time sequence | time_gaps time_has_gaps time_num_gaps |
Quick time-series ggplot | time_ggplot |
Vector date and datetime functions | time_complete_missing time_grid time_grid_size |
Time ID | time_id |
S3-based Time Intervals (Currently very experimental and so subject to change) | interval_count interval_end interval_range interval_start interval_width is_time_interval new_time_interval time_interval |
Is time a regular sequence? (Experimental) | time_is_regular |
Fast time-based by-group rolling sum/mean - Currently experimental | time_roll_apply time_roll_growth_rate time_roll_mean time_roll_sum time_roll_window time_roll_window_size |
Time based version of 'base::seq()' | time_seq time_seq_sizes time_seq_v time_seq_v2 |
Generate a unique identifier for a regular time sequence with gaps | time_seq_id |
Timespans | is_timespan new_timespan timespan timespan_num timespan_unit |
Additional ggplot2 scales | scale_x_year_month scale_x_year_quarter scale_y_year_month scale_y_year_quarter transform_year_month transform_year_quarter |
Turn 'ts' into a 'tibble' | ts_as_tbl ts_as_tbl.default ts_as_tbl.mts ts_as_tbl.timeSeries ts_as_tbl.xts ts_as_tbl.zoo |
Fast methods for creating year-months and year-quarters | decimal_year_month decimal_year_quarter year_month year_month_decimal year_quarter year_quarter_decimal YM YQ |