I have a dataset where i have a column (Continent) and i which to rename some of the data within this column, how would i do this. Data and example below;
I currently have these as the continents for countries in my dataset, i with to rename them so Australia would take Oceana instead of Western pacific, and Afghanistan would take Asia and not East Mediterranean. Africa Americas East Mediterranean Europe South East Asia Western Pacific
Part of my dataset here; head(all_data,3)
Country Year Continent Life_Expectancy
1 Afghanistan 2010 Eastern Mediterranean 61.17996
2 Afghanistan 2011 Eastern Mediterranean 61.72234
3 Afghanistan 2012 Eastern Mediterranean 62.20652
tail(all_data,1)
Country Year Continent Life_Expectancy
4705 Zimbabwe 2010 Africa 52.91785
