zx8754 / intro_r

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

Home Page:https://nhs-r-community.github.io/intro_r/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://nhs-r-community.github.io/intro_r/

License:MIT License


Languages

Language:JavaScript 38.9%Language:CSS 33.9%Language:R 25.7%Language:HTML 0.7%Language:Shell 0.5%Language:Makefile 0.3%