if (FALSE) {
require(fitbitViz)
USER_ID = '99xxxx'
token = 'my_long_web_api_token'
lst_out = sleep_single_day(user_id = USER_ID,
token = token,
date = '2021-03-09',
ggplot_color_palette = 'ggsci::blue_material',
show_nchar_case_error = 135,
verbose = TRUE)
str(lst_out)
}
Run the code above in your browser using DataLab