I'm attempting to load a csv
into a data frame but not getting the same number of rows when executing nrow
vs Excel
.
Looking at the max row in R I can see there are ASCII
control characters in a varchar column when viewing it in Notepad++. For example: CAN, EM, STX, ETC
Is this causing the problem for incomplete load?
I've tried changing the encoding in the data import but this didn't work.
Data import code:
claims <- read.csv(file="C:\\Users\\User\\Desktop\\claims - barbican.csv", sep="\t")
I'm expecting the row count in R to equal the row count in Excel/Notepad++