[This article was first published on #FunDataFriday - Little Miss Data, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Welcome to #FunDataFriday

A 3 minute read about a cool data resource.

Today’s #FunDataFriday article is about an R package called pelotonR.

What is it?


The pelotonR package was created to provide users with simple access to the Peloton API through R.

I created the package last year to provide a set of easy to use functions which allow the user to:

  • Pull general Peloton data in a variety of formats

  • Authenticate with the Peloton API

  • Pull user specific data in a variety of formats when authenticated.

  • Gather full data sets in one function call without having to handle paged API calls.

  • Gather joined data sets in one function call.

Why is it Awesome?

Well I feel a little silly answering this question because I wrote the package. But the intent around creating the package was to allow R and Peloton users easy access to their Peloton data. The package enables users to gather their Peloton data via package functions vs loosely documented API calls. It handles paging through the API call returns to create a full data set and it will also join multiple API call returns in one function (ie instructors + workouts). Finally, I tried to include some fun dataviz examples that you can do with your Peloton data (see below).

fave instructors.png
Screen Shot 2021-06-03 at 9.59.51 PM.png
Screen Shot 2021-06-03 at 10.00.11 PM.png

How to get Started?

Getting started is easy. Simply run through the tutorial here. Please drop me a line with your feedback!

To leave a comment for the author, please follow the link and comment on their blog: #FunDataFriday - Little Miss Data. offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)