Sign in


fitbitr 0.1.0 is now available on CRAN! You can install it with


or you can get the latest dev version with

## install.packages(“devtools”)

fitbitr makes it easy to pull your Fitbit data into R and use it for whatever interests you: personal projects, visualization, medical purposes, etc.

This post shows how you might use fitbitrto pull and visualize some of your data. (Warning: It’s still a little buggy. I’d love if you could submit bug reports here: !!).

Sleep Data

First, you should either generate a new token with generate_token() or load a cached token with load_cached_token().


Matt Kaye

Data scientist at CollegeVine helping bring free, data-driven college guidance to families

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store