Interactive Course

Introduction to Spark with sparklyr in R

Learn how to analyze huge datasets using Apache Spark and R using the sparklyr package.

  • 4 hours
  • 5 Videos
  • 51 Exercises
  • 13,287 Participants
  • 4,650 XP

Loved by learners at thousands of top companies:

credit-suisse-grey.svg
rei-grey.svg
mercedes-grey.svg
dell-grey.svg
paypal-grey.svg
deloitte-grey.svg

Course Description

R is mostly optimized to help you write data analysis code quickly and readably. Apache Spark is designed to analyze huge datasets quickly. The sparklyr package lets you write dplyr R code that runs on a Spark cluster, giving you the best of both worlds. This course teaches you how to manipulate Spark DataFrames using both the dplyr interface and the native interface to Spark, as well as trying machine learning techniques. Throughout the course, you'll explore the Million Song Dataset.

  1. 1

    Light My Fire: Starting To Use Spark With dplyr Syntax

    Free

    In which you learn how Spark and R complement each other, how to get data to and from Spark, and how to manipulate Spark data frames using dplyr syntax.

  2. Tools of the Trade: Advanced dplyr Usage

    In which you learn more about using the dplyr interface to Spark, including advanced field selection, calculating groupwise statistics, and joining data frames.

  3. Going Native: Use The Native Interface to Manipulate Spark DataFrames

    In which you learn about Spark's machine learning data transformation features, and functionality for manipulating native DataFrames.

  4. Case Study: Learning to be a Machine: Running Machine Learning Models on Spark

    A case study in which you learn to use sparklyr's machine learning routines, by predicting the year in which a song was released.

What do other learners have to say?

Devon

“I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group

Louis

“DataCamp is the top resource I recommend for learning data science.”

Louis Maiden

Harvard Business School

Ronbowers

“DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA

Richie Cotton
Richie Cotton

Curriculum Architect at DataCamp

Richie is a Curriculum Architect at DataCamp. He has been using R since 2004, in the fields of proteomics, debt collection, and chemical health and safety. He has released almost 30 R packages on CRAN and Bioconductor – most famously the assertive suite of packages – as well as creating and contributing to many others. He also has written two books on R programming, Learning R and Testing R Code.

See More
Icon Icon Icon professional info