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).base_url_request(),
refresh_token_app(), extract_LOG_ID() — these
were API-only helpers with no visualization logic.heart_rate_time_series(heart_rate_intraday_list, heart_rate = NULL, ...)
— accepts a named list of intraday data.tablesfitbit_data_type_by_date(data, type = 'spo2', ...) —
accepts the parsed JSON response for that date/typesleep_single_day(sleep_data, date, ...) — accepts the
parsed sleep API responsesleep_time_series(sleep_data_list, ...) — accepts a
named list of per-date sleep responsesGPS_TCX_data(tcx_file, time_zone, ...) — accepts a path
to an exported .tcx fileinst/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.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.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.