dl_na_char_generator: Create a characters vector for NA values

Description Usage Details Value See Also

Description

Generation of a character vector with the possible na characters found in csv files in order to load data with data.table::fread

Usage

1
dl_na_char_generator(parent_logger = "test")

Details

Sometimes, csv files exported from excel files have some characters in the cells, causing data columns to be interpreted as characters or factors instead of numeric. This function compile an exhaustive list of those characters in order to transform them in NAs at the moment of reading the data.

Value

A character vector with the text strings to be converted to NAs, in order to use it in data.table::fread function.

See Also

Other Data Loading Functions: dl_data_col_classes, dl_data, dl_dec_char_detect, dl_get_si_code, dl_metadata, qc_as_timestamp, remove_dupcols


sapfluxnet/sapfluxnetQC1 documentation built on May 29, 2019, 1:50 p.m.