Database Access in R | dplyR, NoSQL, MongoDB, Cassandra & More

Working with Databases in R: RDBMS with RODBC; Using dplyr; R with NoSQL, MongoDB, Cassandra & More



2 Days

Course Overview

Mining data in R requires access to multiple data stores. In this course, we'll cover dataframe manipulation, accessing common file formats, traditional Relational Databases, and NOSQL stores like MongoDB and Cassandra.  After completing the course, students will be able to work with data from a myriad of data sources they're likely to encounter in data science, manipulating, transforming, and joining disparate data sets to be able to extract profound insights.

Course Objectives

Working in a hands-on learning, environment students will explore:

  • Data Frames and Data Files in R
  • Relational Databases
  • RDBMS with RODBC
  • Using dplyr
  • Working with NOSQL Databases
  • R and MongoDB
  • R and Cassandra and DataFrames from Cassandra

Course Prerequisites

This is an intermediate level course, geared for data scientists. Incoming students should have prior experience working with R.


Take Before: Students should have attended the course(s) below, or should have practical hands-on skills in these areas:

TTDS6681             R Essentials for Data Scientists

Course Agenda


Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most. Topics, agenda and labs are subject to change, and may adjust during live delivery based on audience needs and skill-level.



Data Frames and Data Files in R

  • Reading and Writing Tab and CSV files
  • Excel Spreadsheets
  • MS Access Files
  • Working with DataFrames
  • DataFrame tools
  • Merging and Joining DataFrames


Relational Databases Overview

  • Database CLIs with R (DBI, R/ODBC, R/JDBC)
  • SQLite
  • dplyr



  • ODBC drivers and the CLI
  • SELECT statements
  • INSERT statements
  • DELETE statements
  • UPDATE statements
  • DDL statements
  • DB Transactions


Using dplyr

  • dplyr Features
  • Table verbs
  • Operations
  • Piping


NOSQL Databases

  • RDBMS (SQL-based)
  • Document Databases
  • Key-Value Databases
  • Columnar Databases


R and MongoDB

  • MongoDB Overview
  • MongoDB and R
  • Mongo Queries


R and Cassandra

  • Cassandra Overview
  • Accessing Cassandra
  • DataFrames from Cassandra

Course Materials

Each student will receive a Student Guide with course notes, code samples, software tutorials, diagrams and related reference materials and links (as applicable). Our courses also include step by step hands-on lab instructions and and solutions, clearly illustrated for users to complete hands-on work in class, and to revisit to review or refresh skills at any time. Students will also receive the project files (or code, if applicable) and solutions required for the hands-on work.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Fresh Spring Savings!
Buy One Get One Free!

Enroll by May 31 in any TWO public classes in 2022 for the price of ONE! 

Click for Details & Additional Offers

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More