Description Usage Arguments Value Examples
View source: R/get_sleep_data.R
Get sleep data from fitbit using cookie returned from login function
| 1 | get_sleep_data(cookie, start_date = "2015-01-13", end_date = "2015-01-20")
 | 
| 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 | 
A list with two things
| summary | A list of sleep summary values | 
| df | A data frame containing various sleep values over time | 
| 1 2 3 4 5 | ## Not run: 
get_sleep_data(cookie, start_date="2015-01-13", end_date="2015-01-20")
## End(Not run)
get_sleep_data
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.