Description: Scrapes data from Fitbit <http://www.fitbit.com>. This does not use the official
API, but instead uses the API that the web dashboard uses to generate the graphs
displayed on the dashboard after login at <http://www.fitbit.com>.

Imports: httr, stringr, jsonlite, methods, utils

Suggests: knitr, rmarkdown, ggplot2, ggthemes

Authors@R: c( person(given = "Lampros", family = "Mouselimis", email = "mouselimislampros@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "https://orcid.org/0000-0002-8024-1546")) )
Description: Connection to the 'Fitbit' Web API <https://dev.fitbit.com/build/reference/web-api/> by including '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.
Imports: glue, httr, jsonlite, ggplot2, lubridate, patchwork,
data.table, stats, viridis, scales, ggthemes, varian,
paletteer, XML, hms, leaflet, sf, rstudioapi, grDevices,
leafgl, raster, exactextractr, sp, magrittr, rayshader,
Suggests: CopernicusDEM, testthat (>= 3.0.0), knitr, rmarkdown, DT,

Description: Connection to the 'Fitbit' Web API by including '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.
SystemRequirements: update: apt-get -y update (deb)

leafgl, raster, terra, magrittr, rayshader, utils

Description: 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
Imports: dplyr, httr, janitor, jsonlite, lubridate, magrittr, purrr,
Suggests: covr, checkmate (>= 2.0.0), spelling, testthat (>= 3.0.0)