Learn R Programming

fitbitScraper (version 0.1.8)

get_weight_data: Get weight data from fitbit.com

Description

Get weight data from fitbit using cookie returned from login function

Usage

get_weight_data(cookie, start_date, end_date)

Arguments

cookie
Cookie returned after login, specifically the "u" cookie
start_date
Date in YYYY-MM-DD format
end_date
Date in YYYY-MM-DD format

Value

A dataframe with two columns:
time
A POSIXct time value
weight
The data column corresponding to weight

Examples

Run this code
## Not run: ------------------------------------
# get_weight_data(cookie, start_date="2015-01-13", end_date="2015-01-20")
## ---------------------------------------------
get_weight_data

Run the code above in your browser using DataLab