USGS - science for a changing world

USGS Intro to R Training at CA WSC

April 1-3, 2019 in Sacramento, CA.

Installation

See R Installation Instructions for information on what software should be installed prior to the course.

Tentative schedule

Day 1

  • 07:30 am - 08:00 am – Instructors available for questions
  • 08:00 am - 09:00 am – Introduction
  • 09:00 am - 09:30 am – Example workflow
  • 09:30 am - 09:45 am – Break
  • 09:45 am - 11:30 am – Get
  • 11:30 am - 12:30 pm – Lunch
  • 12:30 pm - 02:30 pm – Clean
  • 02:30 pm - 02:45 pm – Break
  • 02:45 pm - 03:30 pm – More Clean
  • 03:30 pm - 04:00 pm – Project time!

Day 2

  • 07:30 am - 08:00 am – Instructors available for questions
  • 08:00 am - 09:45 am – Explore
  • 09:45 am - 10:00 am – Break
  • 10:00 am - 11:30 am – Analyze: Base
  • 11:30 am - 12:30 pm – Lunch
  • 12:30 pm - 02:00 pm – Analyze: dataRetrieval
  • 02:00 pm - 02:15 pm – Break
  • 02:15 pm - 03:30 pm – Visualize with ggplot2: Visualize
  • 03:30 pm - 04:00 pm – Project time!

Day 3

  • 07:30 am - 08:00 am – Instructors available for questions
  • 08:00 am - 08:30 am – Review by completing Exercise 1
  • 08:30 am - 09:45 am – Repeat: loops, if-else
  • 09:45 am - 10:00 am – Break
  • 10:00 am - 11:30 am – Repeat: writing your own functions
  • 11:30 am - 12:30 pm – Lunch
  • 12:30 pm - 01:30 pm – Repeat: R Markdown
  • 01:30 pm - 03:00 pm – Project time: USGS R packages, projects (group/individual), Beyond Basic R blog topics, or additional topics

Data files

Download data from the Data page.

Additional resources

Instructors

David Watkins (wwatkins@usgs.gov)

Zeno Levy (zlevy@usgs.gov)

Lesson scripts

This zip file contains the project folder and .Rproj file with the scripts that the instructors created in the class.