LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Programming with dplyr

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Isolate on Portugal rows and year column in both datasets
prt_imf <- ___ %>% 
	___ %>% 
	select(year)
prt_wb <- ___ %>% 
	___ %>%
	select(year)
Code bearbeiten und ausführen