Hi all,
Sometimes I receive .csv files from external data providers that include no quotes (presumably because the data manager forgot to click the right button when exporting them from SQL), which makes it really hard to read in files with free text comments that can contain newlines. Does anyone have a good way to deal with those files, particularly when they are >1GB?
An example:
test.txt
library(readr)
library(data.table)
read.csv("test.txt")
read_csv("test.txt")
fread("test.txt", fill=TRUE)
Hi all,
Sometimes I receive .csv files from external data providers that include no quotes (presumably because the data manager forgot to click the right button when exporting them from SQL), which makes it really hard to read in files with free text comments that can contain newlines. Does anyone have a good way to deal with those files, particularly when they are >1GB?
An example:
test.txt