Package: DataCombine 0.2.23

DataCombine: Tools for Easily Combining and Cleaning Data Sets

Tools for combining and cleaning data sets, particularly with grouped and time series data. This includes functions for merging data while reporting duplicates, filling in columns with values of a column in another data frame, and creating continuous time data for interupted time series.

Authors:Christopher Gandrud [aut, cre]

DataCombine_0.2.23.tar.gz
DataCombine_0.2.23.zip(r-4.5)DataCombine_0.2.23.zip(r-4.4)DataCombine_0.2.23.zip(r-4.3)
DataCombine_0.2.23.tgz(r-4.4-any)DataCombine_0.2.23.tgz(r-4.3-any)
DataCombine_0.2.23.tar.gz(r-4.5-noble)DataCombine_0.2.23.tar.gz(r-4.4-noble)
DataCombine_0.2.23.tgz(r-4.4-emscripten)DataCombine_0.2.23.tgz(r-4.3-emscripten)
DataCombine.pdf |DataCombine.html
DataCombine/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/christophergandrud/datacombine/issues

On CRAN:

25 exports 55 stars 3.76 score 17 dependencies 3 dependents 2 mentions 632 scripts 10.0k downloads

Last updated 4 years agofrom:c59a18888e. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 20 2024
R-4.5-winNOTEAug 20 2024
R-4.5-linuxNOTEAug 20 2024
R-4.4-winNOTEAug 20 2024
R-4.4-macNOTEAug 20 2024
R-4.3-winOKAug 20 2024
R-4.3-macOKAug 20 2024

Exports:CasesTablechangeCountSpelldMergeDropNAFillDownFillInFindDupsFindReplacegrepl.subInsertRowMoveFrontNaVarPercChangepullrmExceptshiftshiftMAslideslideMASpreadDummyStartEndTimeExpandTimeFillVarDrop

Dependencies:clidata.tabledplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Create reports cases after listwise deletion of missing values for time-series cross-sectional data.CasesTable
Calculate the changes (absolute, percent, and proportion) changes from a specified lag, including within groupschange
Count spells, including for grouped dataCountSpell
Merges 2 data frames and report/drop/keeps only duplicates.dMerge
Drop rows from a data frame with missing values on a given variable(s).DropNA
Fills in missing (NA) values with the previous non-missing valueFillDown
A function for filling in missing values of a variable from one data frame with the values from another variable.FillIn
Find duplicated values in a data frame and subset it to either include or not include them.FindDups
Replace multiple patterns found in a character string column of a data frameFindReplace
Subset a data frame if a specified pattern is found in a character stringgrepl.sub
Inserts a new row into a data frameInsertRow
Move variables to the front of a data frame.MoveFront
Create new variable(s) indicating if there are missing values in other variable(s)NaVar
Calculate the percentage change from a specified lag, including within groupsPercChange
Extract a single column from a data frame (including tbl_df) and return it as a vector.pull
Remove all objects from a workspace except those specified by the user.rmExcept
A function for creating lag and lead variables.shift
Internal function for slideMAshiftMA
A function for creating lag and lead variables, including for time-series cross-sectional data.slide
Create a moving average for a period before or after each time point for a given variableslideMA
Spread a dummy variable (1's and 0') over a specified time period and for specified groupsSpreadDummy
Find the starting and ending time points of a spellStartEnd
Expands a data set so that it includes an observation for each time point in a sequence. Works with grouped data.TimeExpand
Creates a continuous Unit-Time-Dummy data frame from a data frame with Unit-Start-End timesTimeFill
Drop one or more variables from a data frame.VarDrop