Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Select and Filter Customer Data | Data Manipulation with dplyr
Practice
Projects
Quizzes & Challenges
Quiz
Challenges
/
Data Manipulation in R (Core)

bookChallenge: Select and Filter Customer Data

Tâche

Swipe to start coding

In this task, you will apply your knowledge of selecting and filtering data frames in R to prepare a list of customers for a marketing campaign. The goal is to extract only the relevant columns and filter customers who are located in a specific city.

  • Select only the name, email, and city columns from the data frame.
  • Filter the data to include only customers whose city matches the target_city parameter.
  • Return the resulting data frame.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 2
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

bookChallenge: Select and Filter Customer Data

Glissez pour afficher le menu

Tâche

Swipe to start coding

In this task, you will apply your knowledge of selecting and filtering data frames in R to prepare a list of customers for a marketing campaign. The goal is to extract only the relevant columns and filter customers who are located in a specific city.

  • Select only the name, email, and city columns from the data frame.
  • Filter the data to include only customers whose city matches the target_city parameter.
  • Return the resulting data frame.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 2
single

single

some-alt