Package fitbitscraper

Similar documents
Package dkanr. July 12, 2018

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package facerec. May 14, 2018

Package calpassapi. August 25, 2018

Package censusr. R topics documented: June 14, Type Package Title Collect Data from the Census API Version 0.0.

Package statsdk. September 30, 2017

Package SEMrushR. November 3, 2018

Package repec. August 31, 2018

Package censusapi. August 19, 2018

Package robotstxt. November 12, 2017

Package rzeit2. January 7, 2019

Package fastdummies. January 8, 2018

Package goodpractice

Package bisect. April 16, 2018

Package ECctmc. May 1, 2018

Package virustotal. May 1, 2017

Package validara. October 19, 2017

Package geniusr. December 6, 2017

Package oec. R topics documented: May 11, Type Package

Package loggit. April 9, 2018

Package jpmesh. December 4, 2017

Package gtrendsr. August 4, 2018

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7

Package opencage. January 16, 2018

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package internetarchive

Package rwars. January 14, 2017

Package gtrendsr. October 19, 2017

Package rbraries. April 18, 2018

Package datasets.load

Package darksky. September 20, 2017

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0

Package guardianapi. February 3, 2019

Package climber. R topics documented:

Package GetITRData. October 22, 2017

Package postgistools

Package githubinstall

Package smapr. October 20, 2017

Package genesysr. June 14, 2018

Package shinyfeedback

Package kdtools. April 26, 2018

Package rgho. R topics documented: January 18, 2017

Package RWildbook. April 6, 2018

Package docxtools. July 6, 2018

Package canvasxpress

Package messaging. May 27, 2018

Package IATScore. January 10, 2018

Package cancensus. February 4, 2018

Package condusco. November 8, 2017

Package GetHFData. November 28, 2017

Package splithalf. March 17, 2018

Package rsppfp. November 20, 2018

Package lumberjack. R topics documented: July 20, 2018

Package bigqueryr. October 23, 2017

Package promote. November 15, 2017

Package modules. July 22, 2017

Package edfreader. R topics documented: May 21, 2017

Package patentsview. July 12, 2017

Package preprosim. July 26, 2016

Package WordR. September 7, 2017

Package crossword.r. January 19, 2018

Package nlgeocoder. October 8, 2018

Package projector. February 27, 2018

Package knitrprogressbar

Package data.world. April 5, 2018

Package httpcache. October 17, 2017

Package BANEScarparkinglite

Package vinereg. August 10, 2018

Package nodbi. August 1, 2018

Package labelvector. July 28, 2018

Package wikitaxa. December 21, 2017

Package riingo. April 16, 2018

Package fingertipsr. May 25, Type Package Version Title Fingertips Data for Public Health

Package phrasemachine

Package spelling. December 18, 2017

Package reval. May 26, 2015

Package triebeard. August 29, 2016

Package jug. April 13, 2017

Package essurvey. August 23, 2018

Package omu. August 2, 2018

Package QCAtools. January 3, 2017

Package pdfsearch. July 10, 2018

Package tidytransit. March 4, 2019

Package mapsapi. March 12, 2018

Package RODBCext. July 31, 2017

Package balance. October 12, 2018

Package ezsummary. August 29, 2016

Package bea.r. December 8, 2017

Package barcoder. October 26, 2018

Package ggextra. April 4, 2018

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package sigmanet. April 23, 2018

Package wbstats. R topics documented: January 3, Type Package

Package profvis. R topics documented:

Package SNPediaR. April 9, 2019

Package widyr. August 14, 2017

Package rcv. August 11, 2017

Package postal. July 27, 2018

Package editdata. October 7, 2017

Package keyringr. R topics documented: February 17, Type Package

Transcription:

Title Scrapes Data from Fitbit Version 0.1.8 Package fitbitscraper April 14, 2017 Author Cory Nissen <corynissen@gmail.com> [aut, cre] Maintainer Cory Nissen <corynissen@gmail.com> 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>. Depends R (>= 3.0.0) License MIT + file LICENSE LazyData true Imports httr, stringr, jsonlite, methods, utils URL https://github.com/corynissen/fitbitscraper RoxygenNote 6.0.1 Suggests knitr, rmarkdown, ggplot2, ggthemes VignetteBuilder knitr NeedsCompilation no Repository CRAN Date/Publication 2017-04-13 22:12:40 UTC R topics documented: get_activity_data...................................... 2 get_daily_data........................................ 2 get_intraday_data...................................... 3 get_premium_export.................................... 4 get_sleep_data........................................ 5 get_weight_data....................................... 5 login............................................. 6 Index 7 1

2 get_daily_data get_activity_data Get activity data from fitbit.com Get activity data from fitbit using returned from login function get_activity_data(, ) Cookie returned after login, specifically the "u" A dataframe with raw output from Fitbit get_activity_data(, ="2015-01-20") get_activity_data get_daily_data Get daily data from fitbit.com Get daily data from fitbit using returned from login function get_daily_data(, what = "steps",, ) what Cookie returned after login, specifically the "u" What data you wish to be returned. Options include "steps", "distance", "floors", "minutesvery", "caloriesburnedvsintake", "minutessedentary", "gettimeinheartrate- ZonesPerDay", "getrestingheartratedata"

get_intraday_data 3 A dataframe with two columns: time data A POSIXct time value The data column corresponding to the choice of "what" get_daily_data(, what="steps", ="2015-01-13", ="2015-01-20") get_daily_data get_intraday_data Get intraday data from fitbit.com Get intraday data from fitbit using returned from login function get_intraday_data(, what = "steps", date) what date Cookie returned after login, specifically the "u" What data you wish to be returned. Options include "steps", "distance", "floors", "active-minutes", "calories-burned", "heart-rate" A dataframe with two columns: time data A POSIXct time value The data column corresponding to the choice of "what" get_intraday_data(, what="steps", date="2015-01-20") get_intraday_data

4 get_premium_export get_premium_export Get official data export from fitbit.com premium Get official data export from fitbit premium using returned from login function. This should be used over individual calls to get_daily_data(), etc. if you subscribe to premium and data export is allowed. I m not subscribed to premium, but it works for me... get_premium_export(, what = "ACTIVITIES", = "2015-01-13", = "2015-01-20") what Cookie returned after login, specifically the "u" What data you wish to be returned. Options include "BODY", "FOODS", "AC- TIVITIES", "SLEEP" A list with two things summary df A list of sleep summary values A data frame containing various sleep values over time get_premium_export(, what="activities", ="2015-01-13", ="2015-01-20") get_premium_export

get_sleep_data 5 get_sleep_data Get sleep data from fitbit.com Get sleep data from fitbit using returned from login function get_sleep_data(, = "2015-01-13", = "2015-01-20") Cookie returned after login, specifically the "u" A list with two things summary df A list of sleep summary values A data frame containing various sleep values over time get_sleep_data(, ="2015-01-13", ="2015-01-20") get_sleep_data get_weight_data Get weight data from fitbit.com Get weight data from fitbit using returned from login function get_weight_data(,, )

6 login Cookie returned after login, specifically the "u" A dataframe with two columns: time weight A POSIXct time value The data column corresponding to weight get_weight_data(, ="2015-01-13", ="2015-01-20") get_weight_data login Login to fitbit.com and get Get the login after login at www.fitbit.com login(email, password, rememberme = FALSE) email password rememberme Email address used to login to fitbit.com Password used to login to fitbit.com for rememberme during login, default is FALSE, but changing to TRUE may help with login issues A string containing the that is returned after login at www.fitbit.com <- login(email="corynissen<at>gmail.com", password="mypasswordhere") login

Index Topic data get_activity_data, 2 get_daily_data, 2 get_intraday_data, 3 get_premium_export, 4 get_sleep_data, 5 get_weight_data, 5 Topic login login, 6 get_activity_data, 2 get_daily_data, 2 get_intraday_data, 3 get_premium_export, 4 get_sleep_data, 5 get_weight_data, 5 login, 6 7