get_intraday_data: Get intraday data from fitbit.com

Description Usage Arguments Value Examples

Description

Get intraday data from fitbit using cookie returned from login function

Usage

1
get_intraday_data(cookie, what = "steps", date)

Arguments

cookie

Cookie returned after login, specifically the "u" cookie

what

What data you wish to be returned. Options include "steps", "distance", "floors", "active-minutes", "calories-burned", "heart-rate"

date

Date in YYYY-MM-DD format

Value

A dataframe with two columns:

time

A POSIXct time value

data

The data column corresponding to the choice of "what"

Examples

1
2
3
4
5
## Not run: 
get_intraday_data(cookie, what="steps", date="2015-01-20")

## End(Not run)
get_intraday_data

corynissen/fitbitScraper documentation built on May 13, 2019, 10:53 p.m.