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:
- useR!2022 virtual Larger-Than-Memory Data Workflows with Apache Arrow tutorial authored by Danielle Navarro
- R for Data Science (2e) written by Hadley Wickham, Mine Ăetinkaya-Rundel, and Garrett Grolemundâwith thanks to Danielle Navarro who contributed the initial version of the Arrow chapter
- How to use Arrow to work with large CSV files? blog post by François Michonneau, which introduces the single vs multi-file API models for learning/teaching Arrow
- Big Data in R with Arrow 1-Day Posit::Conf (2023) Workshop by Steph Hazlitt & Nic Crane, an earlier version of this 1-day course.
This work is licensed under a Creative Commons Attribution 4.0 International License.