Hello,
I would like to know what is the safest and more efficient way to get rid of the parsing errors in read_csv
.
I see that problems(mydf)
actually returns the row numbers of the offending lines. However there are no row numbers in the data. Should I do something like:
df %>% filter(!row_number() %in% problems(df)$row)
Is there better than that?
Thanks!