Module 08 Activity
Scenario
Produce the whole thing: a small reproducible report a colleague can rebuild from your folder.
What you build
A project folder containing raw data, scripts, outputs and a rendered report whose numbers come from code.
Steps
- Write the plan as a table — task, output file, evidence — and state what is out of scope.
- Run the six stages in order, printing a count at each: imported, inspected, cleaned, summarised, visualised, reported.
- Put the cleaning log in the report, not in a comment.
- Write the report in Quarto with every number in the text coming from an inline expression rather than typed.
- Include a Limitations section carrying the constraints you found while cleaning.
- Run the checklist, then do the destructive test: delete the outputs, restart R, run everything, and compare.
Evidence to hand in
- The plan table, including the out-of-scope statement.
- The stage counts.
- The cleaning log as it appears in the report.
- The Quarto source and the rendered output.
- The Limitations section.
- The result of the destructive rebuild.
Review checklist
- Every planned step has a named output file and a check.
- A count is printed at each of the six stages.
- No number in the report prose was typed by hand.
- The Limitations section names the constraints found during cleaning.
- The outputs were deleted, R was restarted, and everything was rebuilt and compared.
