Skip to content

Instantly share code, notes, and snippets.

View k8hertweck's full-sized avatar

Kate Hertweck k8hertweck

View GitHub Profile
@k8hertweck
k8hertweck / IntroTidyverse.R
Last active October 18, 2019 02:48
Seattle UseR: Intro to tidyverse, October 2019
library(tidyverse)
big_epa_cars <- readr::read_csv("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2019/2019-10-15/big_epa_cars.csv")
head(big_epa_cars)
str(big_epa_cars)
colnames(big_epa_cars)
# selecting columns with dplyr
sel_columns <- select(big_epa_cars, fuelType, city08, co2)
# select range of columns