เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

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

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Programming with dplyr

ดูคอร์ส

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Choose columns starting with "gov"
imf_data %>% 
	select(___(___))
แก้ไขและรันโค้ด