Package: maditr 0.8.4

Gregory Demin

maditr: Fast Data Aggregation, Modification, and Filtering with Pipes and 'data.table'

Provides pipe-style interface for 'data.table'. Package preserves all 'data.table' features without significant impact on performance. 'let' and 'take' functions are simplified interfaces for most common data manipulation tasks. For example, you can write 'take(mtcars, mean(mpg), by = am)' for aggregation or 'let(mtcars, hp_wt = hp/wt, hp_wt_mpg = hp_wt/mpg)' for modification. Use 'take_if/let_if' for conditional aggregation/modification. Additionally there are some conveniences such as automatic 'data.frame' conversion to 'data.table'.

Authors:Gregory Demin [aut, cre]

maditr_0.8.4.tar.gz
maditr_0.8.4.zip(r-4.5)maditr_0.8.4.zip(r-4.4)maditr_0.8.4.zip(r-4.3)
maditr_0.8.4.tgz(r-4.4-any)maditr_0.8.4.tgz(r-4.3-any)
maditr_0.8.4.tar.gz(r-4.5-noble)maditr_0.8.4.tar.gz(r-4.4-noble)
maditr_0.8.4.tgz(r-4.4-emscripten)maditr_0.8.4.tgz(r-4.3-emscripten)
maditr.pdf |maditr.html
maditr/json (API)
NEWS

# Install 'maditr' in R:
install.packages('maditr', repos = c('https://fastverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/gdemin/maditr/issues

On CRAN:

data-tablemagrittrpipes

109 exports 60 stars 8.97 score 2 dependencies 6 dependents 214 scripts 5.1k downloads

Last updated 5 months agofrom:d07474ecf5. Checks:OK: 7. Indexed: no.

TargetResultDate
Doc / VignettesOKSep 08 2024
R-4.5-winOKSep 08 2024
R-4.5-linuxOKSep 08 2024
R-4.4-winOKSep 08 2024
R-4.4-macOKSep 08 2024
R-4.3-winOKSep 08 2024
R-4.3-macOKSep 08 2024

Exports::=.BY.GRP.I.N.SD%<>%%>%%$%%between%%chin%%inrange%%like%%T>%as.data.tablebetweenchmatchcoalescecolscolumnscopycubedata.tabledcastdt_add_countdt_anti_joindt_arrangedt_countdt_filterdt_full_joindt_inner_joindt_left_joindt_mutatedt_right_joindt_selectdt_semi_joindt_summarisedt_summarise_alldt_summarizedt_summarize_alldt_top_nfcoalescefifelsefintersectfirstfoverlapsfrankfrankvfreadfrollapplyfrollmeanfrollsumfsetdifffsetequalfsortfunionfwritegetDTthreadsgroupingsetsguessinrangeis.data.tablelastletlet_alllet_ifmeltnafillqueryquery_ifrbindlistrleidrleidvrolluprowidrowidvrowssetsetcolordersetDFsetDTsetDTthreadssetindexsetindexvsetkeysetkeyvsetnafillsetnamessetordersetordervshiftshouldPrintsort_bytaketake_alltake_iftext_expandto_dfto_dfcto_dfrto_listto_longto_vecto_widetransposetstrsplituniqueNvlookupxlookup

Dependencies:data.tablemagrittr

Introduction

Rendered fromIntroduction.Rmdusingknitr::rmarkdownon Sep 08 2024.

Last update: 2024-05-11
Started: 2018-05-04

Readme and manuals

Help Manual

Help pageTopics
maditr: Pipe-Style Interface for 'data.table'maditr-package maditr
Return first non-missing elementcoalesce
Selects columns or rows from the data setcols columns rows
Copy an entire objectcopy
Additional useful functionsdt_add_count dt_count dt_top_n
Join two data.frames by common columns.dt_anti_join dt_full_join dt_inner_join dt_left_join dt_right_join dt_semi_join
'dplyr'-like interface for data.table.dt_arrange dt_filter dt_mutate dt_select dt_summarise dt_summarise_all dt_summarize dt_summarize_all
Modify, aggregate, select or filter data.frame/data.tablelet let.data.frame let.etable let_all let_if sort_by take take_all take_if
One-to-one interface for data.table '[' methodquery query_if
Evaluate expressions in curly brackets inside stringstext_expand
Apply an expression to each element of a list or vectorto_df to_dfc to_dfr to_list to_vec
Convert data to long or to wide formto_long to_wide
Look up values in dictionary.vlookup xlookup