Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Select and Filter Customer Data | Data Manipulation with dplyr
Data Manipulation in R (Core)

bookChallenge: Select and Filter Customer Data

Oppgave

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.

Løsning

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 2
single

single

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

close

bookChallenge: Select and Filter Customer Data

Sveip for å vise menyen

Oppgave

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.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 2
single

single

some-alt