Section 2.9 Checklist
When working with tidyverse, have you:
-
[ ] Installed the package using
install.packages()(only needed once)? -
[ ] Loaded the package for the current R session using
library()? -
[ ] Started your pipeline with the correct data source?
-
[ ] Used the pipe operator (
|>) to make your code readable from left to right? -
[ ] Ensured each step in your pipeline performs one clear transformation?
-
[ ] Used
select()to control which columns are included? -
[ ] Used
filter()with proper logical operators (==,&,|,%in%) to control which rows are kept? -
[ ] Verified that
==(comparison) is used instead of=(assignment) insidefilter()? -
[ ] Considered how missing values (
NA) affect filtering and calculations? -
[ ] Used
mutate()to create or modify variables without unintentionally overwriting existing data? -
[ ] Checked that the order of functions in your pipeline makes sense?
-
[ ] Inspected your data after major transformations (e.g., filtering, mutating, grouping)?
-
[ ] Applied
group_by()beforesummarize()when computing grouped summaries? -
[ ] Re-run your entire pipeline from top to bottom to ensure it is fully reproducible?
