powered by
Taken from code used in vroom::vroom() with automatic reading.
guess_delim(file, delims = c(",", "\t", " ", "|", ":", ";"))
Either a path to a file or character string (with at least one newline character).
The single characters to guess from.
The single character guessed as a delimiter.
# NOT RUN { guess_delim(system.file("extdata", "vt_contribs.csv", package = "campfin")) guess_delim(" a|b|c 1|2|3 ") # }
Run the code above in your browser using DataLab