I have a text file that looks something like this:
a,b,c,d
"string1","string2","string3","
"string4","string5","string6","
The file itself is comma separated, but each line ends with a double quote (i.e., not the comma delimiter). readr::read_delim()
does not understand the line endings and thus tries to read all data into a single line.
data.table::fread()
imports as expected, but I'd like to find a readr
solution, if it exists.