check_values: Check values Checks if values in variables are within the set...

Description Usage Arguments Value Examples

View source: R/check_values.R

Description

Check values Checks if values in variables are within the set difined in the values and type dictionary attributes.

Usage

1
2
3
4
5
6
7
8
check_values(
  data,
  replace = NULL,
  return = TRUE,
  report = FALSE,
  include_missing = TRUE,
  integer_as_double = TRUE
)

Arguments

data

A data frame

replace

Value which relaces unvalid values (e.g., NA).

return

If TRUE, a data frame is returned with replaced values.

report

If TRUE, an overview of invalid values will be given.

include_missing

If TRUE, missing values (provided in the dic file) will be considered as valid values.

Value

A data frame with replaced values if replaces is not NULL.

Examples

1
2

jazznbass/scaledic documentation built on Dec. 18, 2019, 4:37 a.m.