Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Filtering and Selecting Data | Data Cleaning and Wrangling Essentials
Data Cleaning and Wrangling in R
Section 1. Chapter 6
single

single

bookChallenge: Filtering and Selecting Data

Swipe to show menu

Task

Swipe to start coding

In this task, you will apply filtering and selection techniques using dplyr. This will reinforce your understanding of extracting relevant data from a data frame.

  • Filter the data frame to keep only rows where the value of age is greater than 30.
  • Select only the id and score columns from the filtered data frame.
  • Return the resulting data frame.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 6
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt