Lump groups together and create “other” category with forcats package

Packages we will need: For this blog, we are going to look at the titles of all countries’ heads of state, such as Kings, Presidents, Emirs, Chairman … understandably, there are many many many ways to title the leader of a country. First, we will download the PACL dataset from the democracyData package. Click here … Continue reading Lump groups together and create “other” category with forcats package