Skip to content

Releases: bhelsel/iFitbit

iFitbit v0.1.9

04 Nov 15:53
Compare
Choose a tag to compare

iFitbit 0.1.9

  • Improve duplicate detection within the SQL Lite databases
  • Reduced repetitive code within get_fitbit_exercise_log function
  • Edit the .adjustDates function to handle instances where a device table is missing from the SQL Lite database or the Fitbit API

iFitbit v0.1.8

15 May 17:53
Compare
Choose a tag to compare

iFitbit 0.1.8

  • Added .adjustDates and an overwrite argument to make continuous data collection easier and less memory intensive
  • Added a database command within DBI::dbExecute to remove duplicate entries when writing to SQL database
  • Updated .readTables to only include first 12 columns of sleep data as everyone in a study may not have sleep stages
  • Updated get_fitbit_device to append last synced information to SQL database to provide a sync history
  • Updated get_fitbit_report to include sleep data when exporting to the .xlsx format

v0.1.7

09 May 18:34
Compare
Choose a tag to compare

iFitbit 0.1.7

  • Add .readTables database function.
  • Add parallel processing to the fitbit_heart_intraday function.
  • Changed get_fitbit_exercise_log to extend the limit and replace before.date with after.date
  • Added the .extract_token function to reduce repetitive text inside the main functions
  • Added .checkDatabase to create SQL database if one does not exist and toSQL is set to true
  • Removed cases where get_fitbit_device returns a MobileTrack device

v0.1.5

13 Sep 11:59
Compare
Choose a tag to compare
  • Significant improvements to the fitbit_heart_intraday function to make it more flexible for the end user.
  • Add helper functions that display max heart rate equations or default ACSM intensities
  • Add database functions that make it easier to manage the SQL Fitbit databases
  • Update license to include University of Kansas copyright information.
  • Update get_fitbit_exercise_log function to check for NULL values.
  • Change toCSV to toXLSX in the get_fitbit_report so that the tables in the SQL database can be written to separate Excel sheets.
  • Provide an option to return device information to the users R environment

iFitbit v0.1.3

21 Apr 16:40
Compare
Choose a tag to compare
  • Add a method to get_fitbit_activities that separates Fitbit API calls for time periods greater than 100 days.
  • Removed a merge call in get_fitbit_heart_intraday that didn't work for an incomplete day of heart rate data.
  • Add a start and end date argument to get_fitbit_report to allow filtering of the data when toCSV or returnData is TRUE

iFitbit 0.1.2

07 Dec 20:19
Compare
Choose a tag to compare

Initial release for the iFitbit R package. iFitbit is a R package that extracts data from the Fitbit API and assembles it into SQL databases to be used in interactive reports using rmarkdown, reactable, and plotly. The package contents are set up in a way that reports can be added or modified over time to fit the end user. This release also provides the option to write the data to a CSV file or return it to R as a data set.