Skip to content

r-journalism/chjr

Repository files navigation

Center for Health Journalism: Data Fellowship 2022


Liz Lucas liz@ire.org{.email} Andrew Ba Tran [andrew.tran@washpost.com]{.email}

Getting Started

Learning to code with a language like R takes some time and effort on your part. We'll be covering a lot of foundation material this week, and sometimes this can feel like a firehouse of obscure information (e.g. what is an atomic vector and how is that different from a list) that you don't know what to do with yet. If you feel that way, that's OK! You will most likely have to go back and look this stuff up again. But it will help you get started today as we start flexing those coding muscles.

You should expect to feel some frustration, because everybody does. Frustration is OK so long as you can persevere through it. When you finally solve the problem and your code works it's a GREAT feeling.

Get the files

Before we move on, run these lines in console

install.packages(c("usethis", "tidyverse", "remotes"))

remotes::install_github("r-journalism/chjr", upgrade="always", quiet=TRUE)

usethis::use_course("https://github.com/r-journalism/chjr/archive/master.zip")

Resources

Practice

Day 1: Intro to R and RStudio

  • Slides
  • learnr::run_tutorial("1_intro_a", "chjr")
  • learnr::run_tutorial("1_intro_b", "chjr")
  • learnr::run_tutorial("1_intro_c", "chjr")

Day 2: Wrangling data

  • Slides
  • learnr::run_tutorial("2_a_exploring", "chjr")
  • learnr::run_tutorial("2_b_filter_select", "chjr")
  • learnr::run_tutorial("2_c_mutate_summarize", "chjr")

Day 3: Transforming data

  • Slides
  • learnr::run_tutorial("3_a_joining", "chjr")
  • learnr::run_tutorial("3_b_math_pivots", "chjr")

Day 4: Visualizing data

  • Slides
  • learnr::run_tutorial("2_a_viz", "chjr")
  • learnr::run_tutorial("2_b_exploratory_viz", "chjr")

Extra:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages