Working with R
- R Scripts and Functions
- R Markdown
- Why Care About Reproducibility
Learning-by-Building Module (2 Points)
Writing your code as R scripts make up for automation and integration with other tools and services, while writing a R Markdown presents your findings and recommendations in a way that is friendly to non-technical / managerial team members.
- R Script to clean & transform the data
Write a R script containing a function (name the function however way you want) that reads a dataset as input, perform the necessary transformation and export a cross-tabulation numeric result or plot as output.
- Reproducible Data Science
Create an R Markdown file that combines your step-by-step data transformation code with some explanatory text. Add formatting styles and hierarchical structure using Markdown.