Package: maditr 0.8.5
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:
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://gdemin.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gdemin/maditr/issues
Last updated 10 days agofrom:a4df8cccfe. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 10 2024 |
R-4.5-win | OK | Nov 10 2024 |
R-4.5-linux | OK | Nov 10 2024 |
R-4.4-win | OK | Nov 10 2024 |
R-4.4-mac | OK | Nov 10 2024 |
R-4.3-win | OK | Nov 07 2024 |
R-4.3-mac | OK | Nov 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
Readme and manuals
Help Manual
Help page | Topics |
---|---|
maditr: Pipe-Style Interface for 'data.table' | maditr-package maditr |
Return first non-missing element | coalesce |
Selects columns or rows from the data set | cols columns rows |
Copy an entire object | copy |
Additional useful functions | dt_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.table | let 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 '[' method | query query_if |
Evaluate expressions in curly brackets inside strings | text_expand |
Apply an expression to each element of a list or vector | to_df to_dfc to_dfr to_list to_vec |
Convert data to long or to wide form | to_long to_wide |
Look up values in dictionary. | vlookup xlookup |