Skip to content

fitbitViz

1.0.8Package record

'Fitbit' Visualizations

0packages dependsuggested by 1
5.1Kdownloads / year
40.0%test coverage
13/13flavors OK

Overview

About

Visualization of pre-downloaded 'Fitbit' personal health data using 'ggplot2' Visualizations, 'Leaflet' and 3-dimensional 'Rayshader' Maps. The 3-dimensional 'Rayshader' Map requires the installation of the 'CopernicusDEM' R package which includes the 30- and 90-meter elevation data.

Changes in 1.0.8
  • **Breaking change — Fitbit Web API dependency removed.** All functions that previously required a user_id and token have been refactored to accept pre-downloaded data directly, eliminating the dependency on httr, jsonlite, and base64enc. This change was driven by recurring Fitbit API policy changes (GitHub issues #4, #5, #7, #8, #11).
  • **Removed functions:** base_url_request(), refresh_token_app(), extract_LOG_ID() — these were API-only helpers with no visualization logic.
  • **Refactored functions** (new first parameter accepts pre-downloaded data instead of API credentials):
  • heart_rate_time_series(heart_rate_intraday_list, heart_rate = NULL, ...) — accepts a named list of intraday data.tables
  • fitbit_data_type_by_date(data, type = 'spo2', ...) — accepts the parsed JSON response for that date/type
  • sleep_single_day(sleep_data, date, ...) — accepts the parsed sleep API response
  • sleep_time_series(sleep_data_list, ...) — accepts a named list of per-date sleep responses
  • GPS_TCX_data(tcx_file, time_zone, ...) — accepts a path to an exported .tcx file
  • **Sample data:** The inst/tests_vignette_rds/ folder ships .RDS files (heart_dat.RDS, sleep_ts.RDS, res_tcx.RDS) that illustrate the expected input structure for each refactored function.
  • Users who need the previous API-based version can install it with remotes::install_github("mlampros/fitbitViz@v1.0.7") or from the CRAN archive at https://cran.r-project.org/src/contrib/Archive/fitbitViz/fitbitViz_1.0.7.tar.gz.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 8.6 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.8
READMEYes · 184 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.8Citation fileYes · computed when R runs itWebsiteYes · pkgdown
Help pages
18 (6 internal)
Examples that run
0%12 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
17%

Downloads

5.1K
CRAN downloads in the past year
Rank #7,362 · ~14/day · ~426/mo
Daily download trend is not available in this view yet.
44630 days
1.2K90 days
5.1K1 year
Compare downloads with other packages →
Also on96 r2u3 autocran

Repository

9Stars
4Forks
0Open issues
0Open PRs
0Releases
36Commits
2Commit identities
fitbitfitbit-apirvisualizationblogdowngithub-actions
36 commits · Last activity 2026-04-27
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
23
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2023-10-21 · 92026-07-07 · 9
PracticesBeta

8 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/mlampros/fitbitviz on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (3)
Issue templates

Funding links: GitHub Sponsors

The repository owner accepts GitHub Sponsors

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-04-27 · The repository has a site deploy workflow

pkgdown site last built 2026-04-27

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
28 external dependencies (excludes base and recommended)

Installing fitbitViz adds 82 packages (44 with compiled code, 92 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.

Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 1.0.0 (2021)
Releases (9)

Pick two releases to compare their code metrics.

  • 1.0.8Latest
    record
    2026-04-27 · current release · diff ↗ ·
    removed 2 exports
    extract_LOG_ID, refresh_token_app
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.7
    record
    2025-06-21 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.6
    record
    2024-02-08 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.5
    record
    2023-01-06 · diff ↗ ·
    added 2 exports
    fitbit_data_type_by_date, refresh_token_app
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.4
    record
    2022-03-07 · diff ↗
  • 1.0.3
    record
    2022-02-14 · diff ↗
  • 1.0.2
    record
    2021-06-30 · diff ↗
  • 1.0.1
    record
    2021-05-20 · diff ↗
  • 1.0.0
    record
    2021-05-18
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-05-18
Total releases
9 / 5 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5
Download size
3.0 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("fitbitViz")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for fitbitViz version 1.0.8 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy