collect_heartrate: Collect fitbit heartrate data

Description Usage Arguments

View source: R/collect_heartrate.R

Description

Collect fitbit heartrate data

Usage

1
2
collect_heartrate(token, start_date = NULL, period_to_collect = "1m",
  intraday = T)

Arguments

token

The token you received from 'fitbitr' function oauth_token

start_date

The date that you want to start collecting the data in "YYYY-MM-DD" format. If 'NULL' (default) then it chooses yesterday.

period_to_collect

Resolution of the data to collect. Default is '1m' (one month). Options are "1d", "7d", "30d", "1w", "1m".

intraday

T/F for whether to collect intraday data


vcannataro/ECfitbitR documentation built on Jan. 29, 2020, 9:13 p.m.