Giter VIP home page Giter VIP logo

intro2r-mids_2018fall's Introduction

Intro to R; DataFest 2018

John Little (@libjohn) & Joel Herndon (@herndonj) 2018-08-21

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 the zipped repository Download ZIP button

  2. Unzip/expand the zipped repo as a folder in your Documents Directory

  3. Launch RStudio

  4. File > New Project...

  5. Existing Directory: Browse to your unzipped copy in the documents directory

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

  7. Data Structure & Data Types (brief)

  8. 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
  9. Now You Try It. Hands on exercises.

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

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

    1. left_join to merge data
  12. 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
  13. 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

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

License

Shareable via Creative Commons: CC-BY-NC

intro2r-mids_2018fall's People

Contributors

libjohn avatar

Watchers

James Cloos avatar  avatar  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.