Package: maditr 0.8.5

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.5.tar.gz
maditr_0.8.5.zip(r-4.5)maditr_0.8.5.zip(r-4.4)maditr_0.8.4.zip(r-4.3)
maditr_0.8.5.tgz(r-4.4-any)maditr_0.8.4.tgz(r-4.3-any)
maditr_0.8.5.tar.gz(r-4.5-noble)maditr_0.8.5.tar.gz(r-4.4-noble)
maditr_0.8.5.tgz(r-4.4-emscripten)maditr_0.8.5.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

9.18 score 61 stars 7 packages 222 scripts 4.4k downloads 108 exports 2 dependencies

Last updated 1 months agofrom:a4df8cccfe. Checks:OK: 7. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 10 2024
R-4.5-winOKDec 10 2024
R-4.5-linuxOKDec 10 2024
R-4.4-winOKDec 10 2024
R-4.4-macOKDec 10 2024
R-4.3-winOKNov 07 2024
R-4.3-macOKNov 07 2024

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

Dependencies:data.tablemagrittr

Introduction

Rendered fromIntroduction.Rmdusingknitr::rmarkdownon Dec 10 2024.

Last update: 2024-11-10
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_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.data.table 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