Course Level: Intermediate (6 hours)

Using databases is a fundamental part of a data scientist’s role. The main focus of this training course is to introduce SQL databases, write your first SQL queries, and show how R can be used to retrieve and manipulate data stored in a relational database. The course uses both the {DBI} and {dbplyr} packages.

We use the PostgreSQL database as an example for public courses. For in-house training, we are happy to adapt the course to match your database requirements.

This course will take place, from 13:30 - 17:00 (UK time), on the 15th & 16th of April. We have an early bird offer of £250.00, which runs until 3th March 2024. The price is £300.00 thereafter. The closing date for enrollment is 8th April 2024.

  • Introduction to databases: An introduction to relational databases that implement the SQL standard. This will cover standard SQL table queries, as well as a brief discussion into indexing.
  • Data entry and retrieval: Using R as a means to query and modify data in a SQL database.
  • Standard SQL commands: Typical SQL commands when working with a database
  • Data aggregation: A {dplyr} and {dbplyr} front end to data manipulation on a database.
  • Multiple tables: Dealing with and joining data that resides in multiple tables within a database.