This assignment assumes that you have completed the steps presented in the material of Day 1. In this assignment (which is essentially a test-run for upcoming assignments) you should follow steps 1-5 below. It is assumed that you are signed in to GitHub in a browser and have the Homework project active in RStudio. You will do all six homework assignments within the same R project/GitHub repository. You can find an example here.
HW1
in your Homework
directory.HW1.Rmd
in HW1
, this should contain
output: github_document
in the header,ggplot
, of some aspect of a data-set. The data-set should be found on the web (i.e. not one that is preloaded in R or in some package) and you should document any steps taken in retrieving the data. Google something you like and add “free dataset”, “data” or perhaps download something fun from scb.se! If you aim to write about your code then you are free to present it. If not, read the documentation for Rmarkdown chunks to make sure that your code is not visible.sessionInfo()
(see end of this document), informing the reader what versions of R and packages you are using.HW1.Rmd
to create a file HW1.md
that can be rendered by GitHub. Commit your work and Push it to GitHub, see Chapter 12, from if you need a reminder. Check using a web-browser that it is all there. Note that also the folder HW1_files
needs to be committed, or the plots will not show on GitHub.README.md
in your Homework
directory to contain a link to HW1.md
for easy access.
After deadline has passed, you will be given access to another students repository on GitHub. You should provide summary feedback by responding to the “HW1 ready for grading!” issue. Copy the following checklist and use it in your review:
* Is the homework complete, e.g. are all steps in the homework done?
* Is there a working link from the main repository `README.md` to `HW1.md`?
* Do figures show up on `HW1.md` as expected?
* Is any code showing? If yes, is there any text about it?
* Was the latest version of R used?
sessionInfo()
## R version 4.0.5 (2021-03-31)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 10 x64 (build 19043)
##
## Matrix products: default
##
## locale:
## [1] LC_COLLATE=Swedish_Sweden.1252 LC_CTYPE=Swedish_Sweden.1252
## [3] LC_MONETARY=Swedish_Sweden.1252 LC_NUMERIC=C
## [5] LC_TIME=Swedish_Sweden.1252
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## loaded via a namespace (and not attached):
## [1] digest_0.6.28 R6_2.5.1 jsonlite_1.7.2 magrittr_2.0.1
## [5] evaluate_0.14 rlang_0.4.11 stringi_1.7.4 jquerylib_0.1.4
## [9] bslib_0.3.0 rmarkdown_2.11 tools_4.0.5 stringr_1.4.0
## [13] xfun_0.26 yaml_2.2.1 fastmap_1.1.0 compiler_4.0.5
## [17] htmltools_0.5.2 knitr_1.36 sass_0.4.0