So i have a csv file with the following format (2 double quotes as text qualifiers):
""hey you"",""run with me"",""school""
""Frank"",""separate"","",work""
fread
from data.table
is not able to read in this type of file. I still want to estimate the number of rows in this csv though. My initial solution was reading in just 1 column of data (the first column). This is the code I used:
d <- data.table::fread("file", select = c(1))
Unfortunately, the code still bombs out. Any solutions for getting the row numbers?