check_for_data_correction {covid19india}R Documentation

Check for data corrections of X-times magnitude - data.table style

Description

Check for data corrections of X-times magnitude - data.table style

Usage

check_for_data_correction(
  dat,
  var = "daily_cases",
  magnitude = 10,
  min_count = 10
)

Arguments

dat

data set

var

variable for which to check for corrections. Default is "daily_cases"

magnitude

magnitude of difference that qualifies as a data correction. Default is 10.

min_count

minimum count of var. Default is 10.

Value

Data set with data correction observations removed

Examples

## Not run: 
check_for_data_correction(dat = get_nat_counts, var = "daily_cases", magnitude = 10)

## End(Not run)

[Package covid19india version 0.1.4 Index]