DelimitedIngestConfigCreates the settings ingest() uses to read a delimited file.
Each format has its own constructor, which takes the settings of that format only; an argument of another format is an unused-argument error.
setup_DelimitedIngest(
columns = NULL,
character2factor = TRUE,
clean_colnames = TRUE,
remove_duplicates = FALSE,
reader = "data.table",
sep = NULL,
quote = "\"",
na_strings = ""
)DelimitedIngestConfig object.
Optional Named vector: Declared column types, keyed by column
name, in the profile/r/v1 vocabulary -- c(Age = "integer"). A column named
here is converted to the declared type after reading, replacing the type the
reader assigned.
Logical: If TRUE, read character columns as factors.
Logical: If TRUE, normalize column names.
Logical: If TRUE, drop rows repeating an earlier row.
Character {"data.table", "vroom", "duckdb", "arrow"}: Library used to read the file.
Optional Character: Field separator. If NULL, the reader detects it.
Character: Quote character.
Character vector: Strings to read as missing.
EDG
setup_DelimitedIngest(sep = ";")
Run the code above in your browser using DataLab