Package: poorman 0.2.7

poorman: A Poor Man's Dependency Free Recreation of 'dplyr'

A replication of key functionality from 'dplyr' and the wider 'tidyverse' using only 'base'.

Authors:Nathan Eastwood [aut, cre], Etienne Bacher [ctb]

poorman_0.2.7.tar.gz
poorman_0.2.7.zip(r-4.5)poorman_0.2.7.zip(r-4.4)poorman_0.2.7.zip(r-4.3)
poorman_0.2.7.tgz(r-4.4-any)poorman_0.2.7.tgz(r-4.3-any)
poorman_0.2.7.tar.gz(r-4.5-noble)poorman_0.2.7.tar.gz(r-4.4-noble)
poorman_0.2.7.tgz(r-4.4-emscripten)poorman_0.2.7.tgz(r-4.3-emscripten)
poorman.pdf |poorman.html
poorman/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/nathaneastwood/poorman/issues

On CRAN:

base-rdata-manipulationgrammar

10.98 score 340 stars 25 packages 150 scripts 6.2k downloads 104 exports 0 dependencies

Last updated 10 months agofrom:a5313242b3. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-winOKNov 01 2024
R-4.5-linuxOKNov 01 2024
R-4.4-winOKNov 01 2024
R-4.4-macOKNov 01 2024
R-4.3-winOKNov 01 2024
R-4.3-macOKNov 01 2024

Exports:%>%acrossadd_countadd_tallyall_ofanti_joinany_ofarrangebetweenbind_colsbind_rowscase_whencoalescecolumn_to_rownamescontainscountcumallcumanycume_distcummeancur_columncur_datacur_data_allcur_groupcur_group_idcur_group_rowsdense_rankdescdistinctends_witheverythingfillfilterfirstfull_joinglimpsegroup_bygroup_by_drop_defaultgroup_colsgroup_datagroup_indicesgroup_keysgroup_rowsgroup_sizegroup_splitgroup_varsgroupshas_rownamesif_allif_anyif_elseinner_joinlaglastlast_colleadleft_joinlstmatchesmin_rankmutatenn_distinctn_groupsna_ifnearnest_bynthntilenum_rangepeek_varspercent_rankpivot_longerpivot_widerpullrecoderecode_factorrelocateremove_rownamesrenamerename_withreplace_naright_joinrow_numberrowid_to_columnrownames_to_columnselectsemi_joinsliceslice_headslice_maxslice_minslice_sampleslice_tailstarts_withsummarisesummarizetallytransmuteungroupunion_allunitewherewith_groups

Dependencies:

Frequently Asked Questions

Rendered fromfaq.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2020-10-11
Started: 2020-08-02

Readme and manuals

Help Manual

Help pageTopics
Apply a function (or functions) across multiple columnsacross if_all if_any
Arrange rows by variablesarrange
Do values in a numeric vector fall in specified range?between
Efficiently bind multiple 'data.frame's by row and columnbind bind_cols bind_rows
A General Vetorised if()case_when
Find first non-missing elementcoalesce
Context dependent expressionscontext cur_column cur_data cur_data_all cur_group cur_group_id cur_group_rows n
Count observations by groupadd_count add_tally count tally
Cumulative versions of any, all, and meancumall cumany cummean
Descending orderdesc
Subset distinct/unique rowsdistinct
Fill in missing values with previous or next valuefill
Return rows with matching conditionsfilter
Filtering joins filter rows from 'x' based on the presence or absence of matches in 'y':anti_join filter_joins semi_join
Get a glimpse of your dataglimpse
Group by one or more variablesgroup_by ungroup
Default value for .drop argument of group_bygroup_by_drop_default
Select Grouping Variablesgroup_cols
Grouping metadatagroups group_data group_indices group_metadata group_rows group_size group_vars n_groups
Split data.frame by groupsgroup_keys group_split
Vectorised ifif_else
Compute lagged or leading valueslag lead
Build a listlst
Create or transform variablesmutate mutate.data.frame transmute
Mutating Joinsfull_join inner_join left_join mutate_joins right_join
Count the number of unique values in a set of vectorsn_distinct
Convert values to NAna_if
Compare two numeric vectorsnear
Nest Bynest_by
Extract the first, last or nth value from a vectorfirst last nth
Peek at variables in the selection contextpeek_vars
Forward-pipe operator%>% pipe
Pivot data from wide to longpivot_longer
Pivot data from long to widepivot_wider
Pull out a single variablepull
Recode valuesrecode recode_factor
Change column orderrelocate
Rename columnsrename rename_with
Replace missing valuesreplace_na
Tools for working with row namescolumn_to_rownames has_rownames remove_rownames rowid_to_column rownames rownames_to_column
Subset columns using their names and typesselect
Select Helpersall_of any_of contains ends_with everything last_col matches num_range select_helpers starts_with
Subset rows by positionslice slice_head slice_max slice_min slice_sample slice_tail
Reduce multiple values down to a single valuesummarise summarize
Union Allunion_all
Unite Multiple Columns Into Oneunite
Select variables with a functionwhere
Windowed Rank Functionscume_dist dense_rank min_rank ntile percent_rank row_number window_rank
Perform an operation with temporary groupswith_groups