.find_NA_coercions {basecamb}R Documentation

Locate NA values introduced during apply_data_dictionary()

Description

Finds and locates NA values that were introduced by calling apply_data_dictionary() on a dataframe using a data_dictionary.

Usage

.find_NA_coercions(data_raw, data, data_dictionary)

Arguments

data_raw

data.frame that was provided as input to apply_data_dictionary()

data

data.frame that is returned by apply_data_dictionary()

data_dictionary

the data_dictionary used by apply_data_dictionary() to turn "data_raw" into "data".

Value

returns a dataframe with the location of introduced NA's. If no NA's were introduced an empty dataframe is returned.

Author(s)

Till D. Best, J. Peter Marquardt


[Package basecamb version 1.1.5 Index]