This repository is for users to learn R by fixing errors intentionally left in a R markdown document. You will also get familiar with working with GitHub.
- Anyone learning R
World-Popn-Errors-Orig.Rmd
- Original file with errors to fix. +World-Population.csv
- World Population data file.World-Popn-Errors-Final.html
- What you are aiming to get to with out the R code.
- Fork this repository to your GitHub account.
- Clone it to your local computer.
- Double click on
Fixing-R-Errors-Exercises.Rproj
to open RStudio. - Save
World-Popn-Errors-Orig.Rmd
as a new file where by replacingOrig
with your GitHub handle.- Mine would be called
World-Popn-Errors-saghirb.Rmd
.
- Mine would be called
- Fix the errors and make the code readable using your new file.
- Perhaps git commit (in RStudio) after finishing each chunk.
- Don't forget to add a useful commit message
- When you have fixed all the errors and made the code readable
knit
the document.- Check your HTML file against
World-Popn-Errors-Final.html
- Check your HTML file against
- Do a final commit in RStudio.
- Push back to your forked respository.
- Optional: Create a pull request back to this original repository.