Big Data in R with Arrow

1-Day Posit::Conf (2023) Workshop

by Steph Hazlitt & Nic Crane


🗓️ September 17th, 2023
⏰ 09:00 - 17:00
🏨 Grand Hall MN
✍️ pos.it/conf


Workshop Overview

Data analysis pipelines with larger-than-memory data are becoming more and more commonplace. In this workshop you will learn how to use Apache Arrow, a multi-language toolbox for working with larger-than-memory tabular data, to create seamless “big” data analysis pipelines with R.

The workshop will focus on using the the arrow R package—a mature R interface to Apache Arrow—to process larger-than-memory files and multi-file datasets with arrow using familiar dplyr syntax. You’ll learn to create and use interoperable data file formats like Parquet for efficient data storage and access, with data stored both on disk and in the cloud, and also how to exercise fine control over data types to avoid common large data pipeline problems. This workshop will provide a foundation for using Arrow, giving you access to a powerful suite of tools for performant analysis of larger-than-memory data in R.

This course is for you if you:

  • want to learn how to work with tabular data that is too large to fit in memory using existing R and tidyverse syntax implemented in Arrow
  • want to learn about Parquet and other file formats that are powerful alternatives to CSV files
  • want to learn how to engineer your tabular data storage for more performant access and analysis with Apache Arrow

Workshop Prework

Detailed instructions for software requirements and data sources are covered in Packages & Data.

Please try your very best to arrive on the workshop day ready with the required software & packages installed and the data downloaded on to your laptop.

Workshop Schedule

Time Activity
09:00 - 10:30 Session 1: Hello Arrow + Data Manipulation with Arrow I
10:30 - 11:00 Coffee break
11:00 - 12:30 Session 2: Data Engineering with Arrow
12:30 - 13:30 Lunch break
13:30 - 15:00 Session 3: Data Manipulation with Arrow II
15:00 - 15:30 Coffee break
15:30 - 17:00 Session 4: Arrow In-Memory Workflows + Wrapping Up

“This schedule is more what you would call a ‘guideline’ than an actual schedule” — Barbossa, Pirates of the Caribbean

Instructors

Steph Hazlitt is a data scientist, researcher and R enthusiast. She has spent the better part of her career wrangling data with R and supporting people and teams in learning, creating and sharing data science-related products and open source software.

Nic Crane is a software engineer with a background in data science, and has a lot of enthusiasm for open source and learning and teaching all things R. Nic is part of the core team who maintain the Arrow R package.

Acknowledgements

Some of the Big Data in R with Arrow workshop materials draw on other open-licensed teaching content which we would like to acknowledge:


This work is licensed under a Creative Commons Attribution 4.0 International License.