Basic Pattern Analysis

Run basic pattern analyses on character sets, digits, or combined input containing both characters and numeric digits. Useful for data cleaning and for identifying columns containing multiple or nonstandard formats.


Basic pattern analysis, as implemented in the R package bpa, is a data pre-processing tool and is designed to help reduce the time spent doing various pre-processing tasks. It takes inspiration from some of the functionality of SAS/DataFlux Data Management Studio. More specifically, the functions in bpa help standardize the data so that multiple formatting issues, typos, and other unexpected outcomes can more easily be identified in unfamiliar and/or large amounts of data. For more information and example usage, see the introductory vignette included with the package.

The current stable release of the bpa package is available from CRAN and can be installed using install.packages:

# Install current stable release from CRAN
install.packages("bpa")

The development version is hosted on GitHub at https://github.com/bgreenwell/bpa and can be installed using install_github from the devtools package:

# Assuming devtools is already installed
devtools::install_github("bgreenwell/bpa")

Bug reports should be submitted to https://github.com/bgreenwell/bpa/issues.

News

NEWS for bpa package

  • Initial release.
  • Added NEWS file.
  • Added introductory vignette.
  • Fixed trim_ws to remove dependency on R version 3.2.0.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("bpa")

0.1.1 by Brandon Greenwell, a year ago


https://github.com/bgreenwell/bpa


Report a bug at https://github.com/bgreenwell/bpa/issues


Browse source code at https://github.com/cran/bpa


Authors: Brandon Greenwell [aut, cre]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports magrittr, plyr

Depends on base

Suggests testthat, knitr, rmarkdown


See at CRAN