blschum / OSDS-workshop-materials

This repo contains materials to help prepare NSO technical staff to use, edit, and roll-out OSDS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSDS NSO R/RStudio Technical Preparation

Built for in-country TDYs, spring 2022

Britta Schumacher

DAY 2:

2.1. Introduction to R and RStudio Workshop

Getting started

If you are participating in the workshop, you....

2.2. Data Import in R and RStudio Workshop

DAY 3:

3.1. Data Manipulation in R: Introduction to the {tidyverse} Workshop

Getting started

If you are participating in the workshop, you may either (a) work on the tidyverse-workshop-TEMPLATE.Rmd, which leaves space for participants to type code with instruction, or (b) follow along along in the tidyverse-workshop-KEY.Rmd, which has all of the information and code we will be working with. Download the tidyverse-workshop-KEY.html for a knitted (and much easier to read) version of the KEY.

Outline

  1. What is the tidyverse?
  2. Useful functions to know for data wrangling, subsetting, manipulating, and summarising data
  3. Wrangling and plotting data

Data source

All dragon data is from the DALEX package.

Species of interest

We'll be wrangling and plotting data for a subset of chromatic dragons:

Common name Scientific name
Common black Jaggermeryx ozzyi
Scaley longtail Jaggermeryx whido
Sharptoothed flier Jaggermeryx strummeri
Fiery blue Sauroniops naida
Four-toed scale-back Sauroniops reike

3.2. Data Visualization in R: Introduction to {ggplot2} Workshop

Getting started

If you are participating in the workshop, you may either (a) work on the ggplot-workshop-TEMPLATE.Rmd, which leaves space for participants to type code with instruction, or (b) follow along along in the ggplot-workshop-KEY.Rmd, which has all of the information and code we will be working with. Download the ggplot-workshop-KEY.html for a knitted (and much easier to read) version of the KEY.

Outline

  1. Reminder: How do we use the tidyverse?
  2. Useful functions to know for data wrangling, subsetting, manipulating, and summarising data
  3. What is ggplot?
  4. Plotting data + bonus intro to sf()

Data source

All dragon data is from the DALEX package. We will also be using EPA air quality data, wrangled by Ellie Smith-Eskridge and Dakoeta Pinto.

Species of interest

We'll be wrangling and plotting data for a subset of chromatic dragons:

Common name Scientific name
Common black Jaggermeryx ozzyi
Scaley longtail Jaggermeryx whido
Sharptoothed flier Jaggermeryx strummeri
Fiery blue Sauroniops naida
Four-toed scale-back Sauroniops reike

About

This repo contains materials to help prepare NSO technical staff to use, edit, and roll-out OSDS.


Languages

Language:HTML 100.0%