compareDimensions: compareDimensions

Description Usage Arguments See Also

View source: R/twoTableChecks.R

Description

CompareDimensions description

Usage

1
2
compareDimensions(table1, table2, commonColumns, columnsToTest,
  columnAggregations, tolerance)

Arguments

table1

First table to compare

table2

Second table to compare

commonColumns

A string or vector giving dimensions which should be used to compare both tables

columnsToTest

A string or vector giving the columns which should be tested for each common set of dimensions.

columnAggregations

A list of aggregations and corresponding labels to be performed on each in column given in columnsToTest as the dataset is rolled up

testTolerance

A single value or vector giving the tolerance to be used to assess whether a test 'passes' or not. If a single value is given this will be used for all columns to be tested.

See Also

compareRows Does a row by row comparison with no pre-aggregation of the data


Wave1art/dataCheckR documentation built on Oct. 31, 2019, 1:12 a.m.