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).
How to get Started?
Getting started is easy. Simply run through the tutorial here. Please drop me a line with your feedback!