I have a for loop that cycles through a number of records stored in a dataframe and attempts to clean the data.
However, on occasion a record will generate an error due to bad data and will then kill the full process.
Is it possible to set up the loop so that it will advance to the next value in the loop?
if the for loop is set to run through thirty rows of data
and row 23 triggers a critical error, can i set the loop up so that it will disregard row 23 and move on to row 24?
I've been reading on tryCatch but am having problems on finding good documenation on how to use it.