Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ateeqahmad/858cde2b737fd2c0050051ea32588e95 to your computer and use it in GitHub Desktop.
Save ateeqahmad/858cde2b737fd2c0050051ea32588e95 to your computer and use it in GitHub Desktop.
Foundational data science with R

Software

Please make sure you are using the latest version of R (current version is 3.4.3) - 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 (Monday)

Slides (Tuesday)

Course notes

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