Checking for equal sets
Portugal has excellent recent data in both the World Bank data and in the IMF data. Are the same years available for Portugal in both datasets?
world_bank_data
and imf_data
have been loaded for you.
This exercise is part of the course
Programming with dplyr
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Isolate on Portugal rows and year column in both datasets
prt_imf <- ___ %>%
___ %>%
select(year)
prt_wb <- ___ %>%
___ %>%
select(year)