Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Apply Validation Rules to Employee Records | Data Quality Essentials
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Working with Text, Dates, and Data Cleaning in R

bookChallenge: Apply Validation Rules to Employee Records

Tâche

Swipe to start coding

Apply data validation rules to an employee records data frame to ensure data integrity.

  • Correct any ages that fall outside the range 18 to 65 by setting them to the nearest valid value.
  • Ensure all employee_id values are unique, modifying duplicates by appending a suffix.
  • Set email values that do not have a valid format (must contain both "@" and ".") to NA.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 6
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

Suggested prompts:

Can you explain this in simpler terms?

What are some examples related to this topic?

Where can I learn more about this?

close

bookChallenge: Apply Validation Rules to Employee Records

Glissez pour afficher le menu

Tâche

Swipe to start coding

Apply data validation rules to an employee records data frame to ensure data integrity.

  • Correct any ages that fall outside the range 18 to 65 by setting them to the nearest valid value.
  • Ensure all employee_id values are unique, modifying duplicates by appending a suffix.
  • Set email values that do not have a valid format (must contain both "@" and ".") to NA.

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 3. Chapitre 6
single

single

some-alt