LoslegenKostenlos loslegen

Don't get me started

The helper functions in the tidyselect package assist you in choosing a subset of columns. In this exercise, you'll work with starts_with() from tidyselect and select() to choose some columns from imf_data.

The two columns of gov_revenue_as_perc_gdp and gov_net_debt_as_perc_gdp are governmental revenue and governmental gross debt minus assets, respectively, and are both a percentage of gross domestic product (GDP).

Diese Übung ist Teil des Kurses

Programming with dplyr

Kurs anzeigen

Interaktive Übung

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

# Choose columns starting with "gov"
imf_data %>% 
	select(___(___))
Code bearbeiten und ausführen