Skip to content

Instantly share code, notes, and snippets.

@csgillespie
Last active October 31, 2019 16:55
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save csgillespie/36681c79ff8a923f48fe7efd7f2baae2 to your computer and use it in GitHub Desktop.
Save csgillespie/36681c79ff8a923f48fe7efd7f2baae2 to your computer and use it in GitHub Desktop.
Foundational data science with R

Software

Please make sure you are using a recent version of R (current version is 3.6.X) - the final digit is the minor version number. The essential numbers are the first two. You can check the version of R you are running via

R.version.string

Please install the latest version of RStudio (https://www.rstudio.com/products/rstudio/download/).

R Packages

During the course, we'll use two R packages. These can be installed using

install.packages(c("ggplot2", "hrbrthemes"))

Downloading data

The data for the course can be obtained from the course repo. To download the data from the command line

beauty = read.csv("https://raw.githubusercontent.com/jumpingrivers/foundational-data-science/master/data/beauty.csv")
bond = read.csv("https://raw.githubusercontent.com/jumpingrivers/foundational-data-science/master/data/bond.csv")
cupid = read.csv("http://www.mas.ncl.ac.uk/~ncsg3/okcupid.csv")
starbucks = read.csv("https://raw.githubusercontent.com/jumpingrivers/foundational-data-science/master/data/starbucks.csv")

Slides (day 1)

Slides (day 2)

Course notes

@ateeqahmad
Copy link

Thanks for providing all this material!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment