Hi, I have a csv file which contains survey data where some fields have free form text. The survey is online and the data is kept in our CRM system. I have no control over the CRM or database in it.
The issue is where people enter multiple lines and press enter/return between each line. The csv we extract from the CRM when viewed in a text editor or excel looks like it has a new record at these points.
Is there an R technique that could identify that the record is missing the fields at the end of the record, go to the line below, get rid of the CR/LF and join the spurious record back onto the end of it?
Many thanks
Andrew