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

Median unemployment rates by group

Now it's time to get your hands dirty with rlang and its curly-curly ({{ }}) operator!

The rlang package has also been loaded for you here and throughout the rest of this chapter.

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

Programming with dplyr

ดูคอร์ส

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

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

# Finish the function definition
grouped_median_unemploy <- ___(group_col) {
    world_bank_data %>%
    	select(iso, country, year, 
           continent, region, unemployment_rate) %>% 
    	___( ___ ) %>% 
    	___(
          median_unemployment = ___(___))
}
แก้ไขและรันโค้ด