CLiREN-LMS
Data Cleaning and Preparation in R

Writing Readable Cleaning Scripts

Key Idea

30-45 minutes Applied Step 4 of 8
Callout

Key Idea

4 / 8
Callout

Key Idea

A cleaning script should be written for both R and humans. R needs correct syntax, but colleagues need clear structure. A script that cannot be understood by another data manager is difficult to review, maintain, or trust. Readability is part of quality.