dido_read_delim | R Documentation |
Cette fonction utilise directement readr::read_delim
en enlevant la
détection du type des colonnes.
dido_read_delim( file, delim = NULL, quote = "\"", escape_backslash = FALSE, escape_double = TRUE, locale = readr::default_locale(), comment = "", trim_ws = FALSE, skip = 0, n_max = Inf, skip_empty_rows = TRUE )
file |
Either a path to a file, a connection, or literal data (either a single string or a raw vector). Files ending in Literal data is most useful for examples and tests. To be recognised as
literal data, the input must be either wrapped with Using a value of |
delim |
Single character used to separate fields within a record. |
quote |
Single character used to quote strings. |
escape_backslash |
Does the file use backslashes to escape special
characters? This is more general than |
escape_double |
Does the file escape quotes by doubling them?
i.e. If this option is |
locale |
The locale controls defaults that vary from place to place.
The default locale is US-centric (like R), but you can use
|
comment |
A string used to identify comments. Any text after the comment characters will be silently ignored. |
trim_ws |
Should leading and trailing whitespace (ASCII spaces and tabs) be trimmed from each field before parsing it? |
skip |
Number of lines to skip before reading data. If |
n_max |
Maximum number of lines to read. |
skip_empty_rows |
Should blank rows be ignored altogether? i.e. If this
option is |
Certaines variables peuvent avoir des valeurs secrétisées
représentées par la valeur secret
, la détection automatique de readr
n'est donc pas fiable et est désactivé à ce niveau. La détection
automatique est faite dans la fonction dido_csv()
.
un tibble dont toutes les colonnes sont de type chr
## Not run: data <- dido_read_delim("vignettes/exemple.csv") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.