View source: R/047_IngestConfig.R
| setup_DelimitedIngest | R Documentation |
DelimitedIngestConfigReading a delimited file – the format that declares nothing, and therefore the one with the most to say.
One constructor per format: each takes exactly the settings its format has, so an argument from another format is rejected by R as unused, and each format's own enums and defaults can be documented against the class they belong to.
setup_DelimitedIngest(
columns = NULL,
character2factor = TRUE,
clean_colnames = TRUE,
remove_duplicates = FALSE,
reader = "data.table",
sep = NULL,
quote = "\"",
na_strings = ""
)
columns |
Optional Named vector: Declared column types, keyed by column
name, in the |
character2factor |
Logical: If TRUE, read character columns as factors. |
clean_colnames |
Logical: If TRUE, normalize column names. |
remove_duplicates |
Logical: If TRUE, drop rows repeating an earlier row. |
reader |
Character {"data.table", "vroom", "duckdb", "arrow"}: Library used to read the file. |
sep |
Optional Character: Field separator. If |
quote |
Character: Quote character. |
na_strings |
Character vector: Strings to read as missing. |
DelimitedIngestConfig object.
EDG
setup_DelimitedIngest(sep = ";")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.