Skip to content

Repository for Introductory Workshop on R and Data Visualisation held at Inverness College UHI as part of Datafest Fringe, March 2020. Slides available at this link.

Notifications You must be signed in to change notification settings

aj2duncan/Datafest_DataVisWorkshop

Repository files navigation

Introduction to Interactive Data Visualisation in R Workshop Materials

This repository contains all the materials needed for the Introduction to Data Visualisation in R workshop, held at Inverness College as part of the Fringe events for Datafest 2020.

You can run the code by clicking on the button below to launch a binder, created via the holepunch package.

Launch Rstudio Binder

Or you can install everything on your own machine.

Installation

What you need

First you need to have R installed. It is also suggested that you install RStudio as it generally makes things a little easier. Once these are installed you need to add some additional packages. Packages give R some additional functionality. To run all the shiny apps included herein you'll need the following packages installed.

You can install all of these packages at once using the following line of code.

install.packages(c("shiny", "plotly", "dplyr", "readr"), dependencies = TRUE)

If you want to modify the presentation you will also need the xaringan package installed.

install.packages("xaringan", dependencies = TRUE)

Shiny Applications

The easiest way to work with these materials is to open the RStudio project. This will allow you to easily see the folders in RStudio. Each folder contains a file app.R which contains the code for a shiny application. You can then open these in RStudio and then you can click on the Run App button to run the application. The image below should give you some idea of the process.

Data

The majority of the data used in these applications are built into the additional packages. The exception is historic Met Office data, from the Cambridge, Eastbourne, Nairn and Tiree weather stations. The data is available for download from the Met Office - https://www.metoffice.gov.uk/research/climate/maps-and-data/historic-station-data.

Funding

The production of all the materials for this workshop was funded through ESF.

About

Repository for Introductory Workshop on R and Data Visualisation held at Inverness College UHI as part of Datafest Fringe, March 2020. Slides available at this link.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published