Giter Site home page Giter Site logo

newbird1234 / intro_r Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nhs-r-community/intro_r

0.0 0.0 0.0 50.91 MB

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

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

License: Creative Commons Zero v1.0 Universal

Shell 0.49% JavaScript 36.43% R 30.85% CSS 31.30% Makefile 0.32% HTML 0.61%

intro_r's Introduction

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

Set-up

You will need to have R, R tools (on Windows), RStudio, and git installed in order to use this project locally.

Clone the repository, then run the following code chunk to initialise the project.

# the data directory is a git submodule, which needs to be downloaded
if (length(dir("data", ".csv")) == 0) {
  system("git submodule init")
  system("git submodule update")
}
# install all of the required packages
renv::restore()
# download fontawesome icons used in slides
icons::download_fontawesome()

Once you have run these steps, in RStudio you can open the individual Rmarkdown documents and render each file. Alternatively, you can render all of the slides at once using the “Build All” button on the “Build” tab in RStudio.

Spotted a mistake?

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

intro_r's People

Contributors

tomjemmett avatar andrw-jns avatar chrisbeeley avatar nebulahh avatar foobar41 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.