Skip to content

Workshop materials for revised NHS-R Community "Introduction to R and R Studio" course.

License

Notifications You must be signed in to change notification settings

zx8754/intro_r

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the NHS-R Community Introduction to R and R Studio!

Attending the course?

If you are attending the course all the course materials and preparation instructions are here.

Are you wanting to update or use the slide code?

This repository is split into 3 areas:

  • RMarkdown files and dependency files - slides have been built in {xaringan} which requires the css, img and libs folder to render
  • html pages - are automatically rendered using GitHub actions (no need to knit every file!) and are kept on a separate branch. The html files are published though GitHub here and being {xaringan} they are interactive and accessible
  • data files are in a separate repository to help learners access the data files separate to the code for the slides

Cloning this repository

Note that the following code is used in the Terminal not in R!

The data/ folder is a submodule, in order to properly clone this repository you should run the following:

git clone --recurse-submodules https://github.com/nhs-r-community/intro_r.git

Alternatively, if you have already cloned the repository locally, you can run the following to load the data/ submodule:

git submodule init
git submodule update

Packages used

This project uses {renv} to manage dependencies. When you open the project it will create a new (local) library for this project. In order to restore the packages, simply run renv::restore().

This project uses the {icons} package. This requires you to run icons::download_fontawesome() once before rendering any slides, but it will save a copy of the font’s to disk so this does not need to be run everytime.

Spotted a mistake?

Please let us know if there are mistakes or improvements by creating an issue.

About

Workshop materials for revised NHS-R Community "Introduction to R and R Studio" course.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 38.9%
  • CSS 33.9%
  • R 25.7%
  • Other 1.5%