All I want to do is change the address column in df to upper case
df$address <- casefold(df$address, upper = TRUE)
but I keep getting the following error - probably because of the 'I' with an accent
Error in toupper(x) :
invalid input 'POLÍGONO INDUSTRIAL OLASO' in 'utf8towcs'
I know this observation is already upper case, but not all of them are. I don't want to just substitute all of these instances for their English counterpart, mainly because an Eszett (ß) shows up later and I don't know what that would be replaced with.