R/read_tables.R
convert_missing_value.Rd
Convert missing value codes to NA
convert_missing_value(v, code, type)
Vector of values
(character) Missing value code
(character) Type (class) v should be. Supported types are: "character", "numeric", "datetime"
v
Vector of values with code replaced by NA in the class of type
code
type