Challenge: Build a Cleaning Pipeline for Survey Data
Task
Swipe to start coding
Build a data cleaning pipeline using dplyr and custom functions to prepare the survey data frame for analysis.
- Implement
remove_outliersto set outlier values in theincomecolumn toNA. - Implement
fix_genderto standardize and correct inconsistent gender entries. - Ensure the pipeline removes rows with missing or invalid ages and genders.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 8
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Awesome!
Completion rate improved to 5
Challenge: Build a Cleaning Pipeline for Survey Data
Swipe to show menu
Task
Swipe to start coding
Build a data cleaning pipeline using dplyr and custom functions to prepare the survey data frame for analysis.
- Implement
remove_outliersto set outlier values in theincomecolumn toNA. - Implement
fix_genderto standardize and correct inconsistent gender entries. - Ensure the pipeline removes rows with missing or invalid ages and genders.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 8
single