BaşlayınÜcretsiz Başlayın

Comparing scores across tags

The complete dataset you created in the last exercise is available to you as questions_with_tags. Let's do a quick bit of analysis on it! You'll use familiar dplyr verbs like group_by, summarize, arrange, and n to find out the average score of the most asked questions.

Bu egzersiz

Joining Data with dplyr

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Aggregate by the tag_name.
  • Summarize to get the mean score for each question, score, as well as the total number of questions, num_questions.
  • Arrange num_questions in descending order to sort the answers by the most asked questions.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

questions_with_tags %>% 
  # Group by tag_name
  ___ %>%
  # Get mean score and num_questions
  summarize(score = ___,
        	num_questions = ___) %>%
  # Sort num_questions in descending order
  ___
Kodu Düzenle ve Çalıştır