Skip to contents

Construct an object with functions for handling missing values.

Usage

MissingHandlers(
  unclear = c("Unclear", "unclear", "uncleaar", "uncelar", "r"),
  not_reported = c("", "Not available", "*", "Not reportable", "missing"),
  zeros = "-"
)

Arguments

unclear

Character vector giving values corresponding to numbers that were unclear to data enterers.

not_reported

Character vector giving values corresponding to numbers that were not reported in the original source.

zeros

Character vector giving values corresponding to `0` but that were entered as another character to resemble the original source.

Value

An environment with functions for handling missing values.