Skip to content

Instantly share code, notes, and snippets.

@ryanburge
Created November 18, 2020 02:53
Show Gist options
  • Save ryanburge/3a12259464d6598271b34e3e3dd63856 to your computer and use it in GitHub Desktop.
Save ryanburge/3a12259464d6598271b34e3e3dd63856 to your computer and use it in GitHub Desktop.
Graduate Class for 11/18/2020
## Grab the data here:
pop <- read.csv("https://raw.githubusercontent.com/ryanburge/pls2003_sp17/master/population.csv") %>%
mutate(height = round(height, 1)) %>%
mutate(weight = round(weight, 1))
### More data here:
bball <- read_csv("https://raw.githubusercontent.com/ryanburge/pls2003_sp17/master/bball.csv", guess_max = 25000)
bball <- bball %>%
rename(games = g, wins =w, losses = l, runs =r, atbats = ab, hits =h, homeruns =hr, walks = bb, strikeout = so, stolenbase = sb, earnedruns = era)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment