ÎncepețiÎncepe gratuit

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).

Acest exercițiu face parte din cursul

Programming with dplyr

Vezi cursul

Exercițiu interactiv practic

Încearcă acest exercițiu completând acest cod de exemplu.

# Choose columns starting with "gov"
imf_data %>% 
	select(___(___))
Editează și rulează codul