I've got a very simple dataframe with two columns: one is filled with characters (as in names, specifically crop types) and the other one with numbers (areas). The first column (crop types) is in Italian but I need the names to be in English. I know I might use the gsub() function to manually rename each one of them but I'm working with several graphs and the code would definitely become too long.
So my questions are:
Is there a quicker way to rename entries of a dataset (in this case, all entries of a column)?
And in case the answer is no, how may I run multiple lines of code in R at once?
Thank you :)