Tidyr
Changing data format
7. Try some advanced tidyr functions
Summary

Instruction

Good job! Now that you know the basics, let's try some more tidyr functions. First, though, we will change the dataset. Our new dataset contains Eurostat population figures. Let's have a look at it.

Exercise

Bring the Eurostat population data into memory. Use read_csv() on the file data/population.csv. Assign it to the population variable. Check the first few rows of data using head().

What is in the columns?

Stuck? Here's a hint!

Type:

population <- read_csv("data/population.csv")
head(population)