Big Data in R with Arrow

1-Day Posit::Conf (2024) Workshop

by Nic Crane & Steph Hazlitt


🗓️ August 12th, 2024
⏰ 09:00 - 17:00
🏨 305 | Chelais
✍️ 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

All participants need to bring is a laptop that can connect to wifi. We will be using Posit Workbench to learn together—Workbench will be setup with all the software and data needed for the day. If you would prefer to run code locally on your own laptop, detailed instructions for software requirements and data sources are covered in Packages & Data.

Workshop Schedule

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

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: Arrow In-Memory Workflows
15:00 - 15:30 Coffee break
15:30 - 17:00 Session 4: Data Manipulation with Arrow II + Wrapping Up

Instructors

Nic Crane is an R consultant with a background in data science and software engineering. They are passionate about open source, and learning and teaching all things R. Nic is part of the core team that maintain the Arrow R package, and a co-author of “Scaling up with R and Arrow”, due to be published by CRC Press later this year.

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 creating and sharing data science-related products and open source software. Steph is the Director of Data Science Partnerships with BC Stats.

Acknowledgements

Some of this 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.