total_check: Total check

Description Usage Arguments

View source: R/import_total_check.R

Description

This function returns rows and columns that might be total rows, and possibly should be separated from the dataset.

Usage

1
total_check(df, keywords = c("subtotal", "total", "sum"), threshold = 4)

Arguments

df

dataframe we are checking

keywords

words denoting rows with totals or sums we are trying to check for

threshold

maximum of how many times finding the above keywords in the dataset is expected


associatedpress/apdatacheck documentation built on Feb. 17, 2020, 9:27 p.m.