Skip to contents

na_cols() creates a specification for the NA channel missing reason when loading data with the read_interlaced_*() family of functions.

Usage

na_cols(...)

as.na_col_spec(x)

is.na_col_spec(x)

Arguments

...

Named vectors to use as missing reasons when loading interlaced columns. Use name .default to set default NA values for the columns.

x

Named list to construct a NA spec with, or a vector of values that should be used in a spec with .default equal to those values.