data-and-visualization / intro2r-2018-datafest

quick start introduction to dplyr, simple EDA, basic visualization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intro to R; DataFest 2018

John Little (@libjohn) & Joel Herndon (@herndonj) 2018-03-27

README

This repository contains supporting datasets and files for our Intro to R workshop by the Data & Visualization Services Department, Duke University Libraries. You can find more information about our future and past workshops

Outline

  1. Download data by cloning repository: https://is.gd/datafest_r

  2. New Project

  3. New R Notebook

    1. Literate Coding: brief explanation
      1. New Code Chunk: Ctrl+Alt+I
      2. R Markdown: brief explanation
    2. library(tidyverse)
  4. Load & View Tibble (data frame)

  5. Data Structure & Data Types (brief)

  6. dplyr -- part of tidyverse

    1. filter rows
    2. arrange rows by variables
    3. select columns
    4. mutate derive cells / new variables
    5. count column totals
    6. summarize grouping reports
  7. Now You Try It. Hands on exercises.

    1. exercise_01.Rmd
    2. exercise_02.Rmd
    3. answers.Rmd
  8. Basic Exploratory Data Analysis

    1. Read in new datasets
    2. library(skimr)
  9. More dplyr -- join two datasets

    1. left_join to merge data
  10. More Visualize with ggvis (syntactically simpler than ggplot2, but...)

    1. Basic visualization (Scatter Plot, Box Plot, Histogram, Bar Chart)
    2. Take the ggplot2 workshop, or see the materials
    3. Resource: https://rfun.library.duke.edu/intro2r/visualization.html
  11. Our Training Materials

    1. R we having fun yet‽ https://rfun.library.duke.edu. Training materials for R.

      • 2018 Workshops: Intro to 2 / Visualization / Shiny / Mapping / Git / R Markdown
    2. Full DVS workshop series

  12. Questions: Walk-in schedule and by appointment Data Science Consulting

License

Shareable via Creative Commons: CC-BY-NC

About

quick start introduction to dplyr, simple EDA, basic visualization

License:Other


Languages

Language:R 100.0%