
This is our course intro.
After viewing this lecture, you will know how to download the Access version of the Lahman Baseball Database and how to set it up for querying.
After viewing this lecture, you will be able to download R and RStudio and install R packages. You will also gain a basic familiarity with the RStudio interface.
After viewing this lecture, you will be able to install the Rcpp package.
After viewing this lecture, you will be able to use SQL in Access and dplyr in R to select columns of interest from a table or data frame.
After viewing this lecture, you will be able to use SQL in Access and dplyr in R to order records by a particular column.
After viewing this lecture, you will be able to use SQL in Access and dplyr in R to filter records according to certain criteria.
After viewing this lecture, you will be able to employ more complicated filters with both SQL and dplyr.
After viewing this lecture, you will be able to group records and sum a particular field for a grouping with SQL in Access.
After viewing this lecture, you will be able to group records and sum a particular field for a group with
dplyr in R.
After viewing this lecture, you will be able to use the avg (SQL) and mean (dplyr) aggregate functions.
After viewing this lecture, you will be able to calculate the max and min values of a field for a group, with either SQL or dplyr.
After viewing this lecture, you will be able to count the number of records in a group, with either SQL or dplyr.
After viewing this lecture, you will be able to filter before and after grouping, in either SQL or dplyr.
In this lecture, we calculate career batting averages with both SQL and dplyr.
After viewing this lecture, you will be able to perform INNER JOINS with SQL in Access.
After viewing this lecture, you will be able to perform INNER JOINS with dplyr in R.
In this video, we practice with INNER JOINS.
After viewing this lecture, you will be able to perform an INNER JOIN with SQL in Access on more than one field.
After viewing this lecture, you will be able to perform an INNER JOIN with dplyr in R on more than one field.
After viewing this lecture, you will be able to join three tables with SQL in Access.
After viewing this lecture, you will be able to join three tables with dplyr in R.
After viewing this lecture, you will be able to write queries where you are both grouping records and joining tables with SQL in Access.
After viewing this lecture, you will be able to write queries where you are both grouping records and joining tables with dplyr in R.
This is our first practice problem, solved with SQL.
This is our first practice problem, solved with dplyr.
This is our second practice problem, solved with SQL.
This is our second practice problem, solved with dplyr.
After viewing this lecture, you will be able to read csv files into R and query them with dplyr.
In this course, we explain the relationship between SQL and the R package dplyr. I will show you how to query a baseball database with SQL in Microsoft Access and then show you how to do exactly the same thing with dplyr in R. We will begin with simple queries, progress to aggregation and grouping, and finish with queries involving joins. By the end of the course, you should be able to use dplyr to explore your own data sets.
At a relaxed pace, it should take about three weeks to complete the course. The course is for beginners in SQL, R, and dplyr. You also do not have to understand very much about baseball. We will be using the Lahman Baseball Database, R, dplyr, and Microsoft Access. I will show you how to install everything.