Package: fitbitr 0.3.0

fitbitr: Interface with the 'Fitbit' API

Many 'Fitbit' users, and R-friendly 'Fitbit' users especially, have found themselves curious about their 'Fitbit' data. 'Fitbit' aggregates a large amount of personal data, much of which is interesting for personal research and to satisfy curiosity, and is even potentially useful in medical settings. The goal of 'fitbitr' is to make interfacing with the 'Fitbit' API as streamlined as possible, to make it simple for R users of all backgrounds and comfort levels to analyze their 'Fitbit' data and do whatever they want with it! Currently, 'fitbitr' includes methods for pulling data on activity, sleep, and heart rate, but this list is likely to grow in the future as the package gains more traction and more requests for new methods to be implemented come in. You can find details on the 'Fitbit' API at <https://dev.fitbit.com/build/reference/web-api/>.

Authors:Matt Kaye [aut, cre]

fitbitr_0.3.0.tar.gz
fitbitr_0.3.0.zip(r-4.5)fitbitr_0.3.0.zip(r-4.4)fitbitr_0.3.0.zip(r-4.3)
fitbitr_0.3.0.tgz(r-4.4-any)fitbitr_0.3.0.tgz(r-4.3-any)
fitbitr_0.3.0.tar.gz(r-4.5-noble)fitbitr_0.3.0.tar.gz(r-4.4-noble)
fitbitr_0.3.0.tgz(r-4.4-emscripten)fitbitr_0.3.0.tgz(r-4.3-emscripten)
fitbitr.pdf |fitbitr.html
fitbitr/json (API)
NEWS

# Install 'fitbitr' in R:
install.packages('fitbitr', repos = c('https://mrkaye97.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mrkaye97/fitbitr/issues

On CRAN:

fitbit

4.65 score 16 stars 28 scripts 240 downloads 30 exports 33 dependencies

Last updated 1 months agofrom:cef60d1096. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-winOKNov 19 2024
R-4.5-linuxOKNov 19 2024
R-4.4-winOKNov 19 2024
R-4.4-macOKNov 19 2024
R-4.3-winOKNov 19 2024
R-4.3-macOKNov 19 2024

Exports:%>%generate_fitbitr_tokenget_active_zone_minutes_intradayget_activity_caloriesget_activity_summaryget_caloriesget_calories_bmrget_calories_intradayget_distanceget_distance_intradayget_elevationget_elevation_intradayget_floorsget_floors_intradayget_heart_rate_intradayget_heart_rate_zonesget_lifetime_bestsget_lifetime_totalsget_minutes_fairly_activeget_minutes_lightly_activeget_minutes_sedentaryget_minutes_very_activeget_sleep_stage_granularget_sleep_stage_summaryget_sleep_summaryget_stepsget_steps_intradayget_tracker_bestsget_tracker_totalsperform_get

Dependencies:askpassclicpp11curldplyrfansigenericsgluehmshttrjanitorjsonlitelifecyclelubridatemagrittrmimeopensslpillarpkgconfigpurrrR6rlangsnakecasestringistringrsystibbletidyrtidyselecttimechangeutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Generate an Oauth tokengenerate_fitbitr_token
Get intraday active zone minutes time seriesget_active_zone_minutes_intraday
Activity Calories Time Seriesget_activity_calories
Activity Summaryget_activity_summary
Calories Time Seriesget_calories
Calories BMR Time Seriesget_calories_bmr
Get intraday calories time seriesget_calories_intraday
Distance Time Seriesget_distance
Get intraday distance time seriesget_distance_intraday
Elevation Time Seriesget_elevation
Get intraday elevation time seriesget_elevation_intraday
Floors Time Seriesget_floors
Get intraday floors time seriesget_floors_intraday
Get intraday heart time seriesget_heart_rate_intraday
Heart Rate Zonesget_heart_rate_zones
Get an intraday time seriesget_intraday_time_series
Lifetime Bestsget_lifetime_bests
Lifetime Totalsget_lifetime_totals
Minutes Fairly Active Time Seriesget_minutes_fairly_active
Minutes Lightly Active Time Seriesget_minutes_lightly_active
Minutes Sedentary Time Seriesget_minutes_sedentary
Minutes Very Active Time Seriesget_minutes_very_active
Granular Sleep Stage Dataget_sleep_stage_granular
Nightly Sleep Stage Summary Dataget_sleep_stage_summary
Nightly Sleep Summaryget_sleep_summary
Steps Time Seriesget_steps
Get intraday steps time seriesget_steps_intraday
Tracker Bestsget_tracker_bests
Tracker Totalsget_tracker_totals
Perform a GET requestperform_get