bergsmat/wrangle: A Systematic Data Wrangling Idiom

Supports systematic scrutiny, modification, and integration of data. The function status() counts rows that have missing values in grouping columns (returned by na() ), have non-unique combinations of grouping columns (returned by dup() ), and that are not locally sorted (returned by unsorted() ). Functions enumerate() and itemize() give sorted unique combinations of columns, with or without occurrence counts, respectively. Function ignore() drops columns in x that are present in y, and informative() drops columns in x that are entirely NA; constant() returns values that are constant, given a key. Data that have defined unique combinations of grouping values behave more predictably during merge operations.

Getting started

Package details

AuthorTim Bergsma
MaintainerTim Bergsma <bergsmat@gmail.com>
LicenseGPL-3
Version0.6.3
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("bergsmat/wrangle")
bergsmat/wrangle documentation built on Aug. 29, 2023, 11:28 a.m.