Learn R Programming

⚠️There's a newer version (1.2.2) of this package.Take me there.

datacheck (version 0.9.8)

Tools for checking data consistency

Description

The package provides functionality to check variables against a set of basic rules. A rule file can be accompanied by lookup tables. In addition, the package provides some convenience testing functions that may serve also as an example for defining clearer 'data rules' or tests. An html based user interface facilitates initial exploration of the functionality.

Copy Link

Version

Install

install.packages('datacheck')

Monthly Downloads

19

Version

0.9.8

License

GPL (>= 3)

Maintainer

Simon

Last Published

April 27th, 2013

Functions in datacheck (0.9.8)

scoreSum

Line chart of cumulative sum of rule scores.
datacheck-package

Check a table against a set of constraints or rules defined in R.
read.rules

Reads a file containing rules in data dictionary format.
is.properName

Tests if string is like a proper name with inital letter in upper case
has.ruleErrors

Quick check if a rule profile on a table has any errors.
datadict.profile

Create a data quality profile (main function)
runDatacheck

Presents the packages graphical user interface
heatmap.quality

Draws a heatmap based on data quality scores
is.onlyLowers

Tests if a string has only lower case letters
pkg.version

Get the current version of a package
is.datadict.profile

is.datadict.profile
has.punct

Tests for presence of most common punctuation characters
shortSummary

Produces a tabular summary of descriptive statistics using the 'describe' function from the Hmisc package.
is.oneOf

Tests if a string or 'factor level' is one of a pre-defined set
prep4rep

Prepares a summary table for display in a 'printed' report.
is.withinRange

Tests if a numeric value is between a minimal and maximum value. Serves as convenience function.
ruleCoverage

Dotchart of rules per variable
as.rules

Converts a vector of lines into a rules data frame