LoslegenKostenlos loslegen

case_when() from multiple columns

With data science being a new and rapidly growing field, there can be confusion about what defines a "data scientist." In some cases, especially for a data analyst, people might not have the title but they still identify themselves as data scientists. Let's look at whether there are differences in average job satisfaction depending on whether someone is a data analyst and how they self-define as a data scientist. The dataset multiple_choice_responses has been loaded for you.

Diese Übung ist Teil des Kurses

Categorical Data in the Tidyverse

Kurs anzeigen

Interaktive Übung

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

multiple_choice_responses %>%
    # Filter out people who selected Data Scientist as their Job Title
    ___(___)
Code bearbeiten und ausführen