Learn R Programming

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

datacheck (version 0.9.6)

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.6

License

GPL (>= 3)

Maintainer

Simon

Last Published

April 16th, 2013

Functions in datacheck (0.9.6)

datadict.profile

Create a data quality profile (main function)
ruleCoverage

Dotchart of rules per variable
is.datadict.profile

is.datadict.profile
has.ruleErrors

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

Draws a heatmap based on data quality scores
runDatacheck

Presents the packages graphical user interface
is.properName

Tests if string is like a proper name with inital letter in upper case
read.rules

Reads a file containing rules in data dictionary format.
as.rules

Converts a vector of lines into a rules data frame
pkg.version

Get the current version of a package
is.withinRange

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

Tests if a string has only lower case letters
is.oneOf

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

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

Prepares a summary table for display in a 'printed' report.
has.punct

Tests for presence of most common punctuation characters
scoreSum

Line chart of cumulative sum of rule scores.
shortSummary

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