Package: timeplyr 1.1.2

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_1.1.2.tar.gz
timeplyr_1.1.2.zip(r-4.7)timeplyr_1.1.2.zip(r-4.6)timeplyr_1.1.2.zip(r-4.5)
timeplyr_1.1.2.tgz(r-4.6-x86_64)timeplyr_1.1.2.tgz(r-4.6-arm64)timeplyr_1.1.2.tgz(r-4.5-x86_64)timeplyr_1.1.2.tgz(r-4.5-arm64)
timeplyr_1.1.2.tar.gz(r-4.7-arm64)timeplyr_1.1.2.tar.gz(r-4.7-x86_64)timeplyr_1.1.2.tar.gz(r-4.6-arm64)timeplyr_1.1.2.tar.gz(r-4.6-x86_64)
timeplyr_1.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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 from:cd2486436a. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 172 | ||
| linux-devel-x86_64 | OK | 180 | ||
| source / vignettes | OK | 177 | ||
| linux-release-arm64 | OK | 174 | ||
| linux-release-x86_64 | OK | 179 | ||
| macos-release-arm64 | OK | 148 | ||
| macos-release-x86_64 | OK | 359 | ||
| macos-oldrel-arm64 | OK | 147 | ||
| macos-oldrel-x86_64 | OK | 238 | ||
| windows-devel | OK | 141 | ||
| windows-release | OK | 149 | ||
| windows-oldrel | OK | 157 | ||
| wasm-release | OK | 122 |
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_addtime_breakpointstime_breakstime_bytime_ceilingtime_completetime_complete_missingtime_cuttime_cut_ntime_cut_widthtime_difftime_elapsedtime_episodestime_expandtime_floortime_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_roundtime_seqtime_seq_idtime_seq_sizestime_seq_vtime_seq_v2time_subtracttime_tbl_time_coltimespantimespan_numtimespan_unittransform_year_monthtransform_year_quarterts_as_tblyear_monthyear_month_decimalyear_quarteryear_quarter_decimalYMYQ
Dependencies:cheaprclicollapsecpp11cppdoublesdata.tabledplyrfarverfastplyrgenericsggplot2gluegtableisobandlabelinglifecyclelubridatemagrittrpillarpkgconfigpurrrR6RColorBrewerRcpprlangS7scalesstringistringrtibbletidyselecttimechangetzdbutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| 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 |
| Add/subtract timespans to dates and date-times | time_add time_ceiling time_floor time_round time_subtract |
| 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_breakpoints 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 |