Tools for checking data consistency


[Up] [Top]

Documentation for package ‘datacheck’ version 1.0.4

Help Pages

datacheck-package Check a table against a set of constraints or rules defined in R.
as.rules Converts a vector of lines into a rules data frame
datadict.profile Create a data quality profile (main function)
has.punct Tests for presence of most common punctuation characters
has.ruleErrors Quick check if a rule profile on a table has any errors.
heatmap.quality Draws a heatmap based on data quality scores
is.datadict.profile is.datadict.profile
is.oneOf Tests if a string or 'factor level' is one of a pre-defined set
is.onlyLowers Tests if a string has only lower case letters
is.properName Tests if string is like a proper name with inital letter in upper case
is.withinRange Tests if a numeric value is between a minimal and maximum value. Serves as convenience function.
pkg.version Get the current version of a package
prep4rep Prepares a summary table for display in a 'printed' report.
read.rules Reads a file containing rules in data dictionary format.
ruleCoverage Dotchart of rules per variable
runDatacheck Presents the packages graphical user interface
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.