update_activity_goals: Update Activity Goals

Description Usage Arguments Details

View source: R/activity.R

Description

update_activity_goals() creates or updates a user's daily activity goals.

Usage

1
2
update_activity_goals(token, period, calories_out = NULL,
  active_minutes = NULL, floors = NULL, distance = NULL, steps = NULL)

Arguments

token

An OAuth 2.0 token generated by oauth_token()

period

daily or weekly

calories_out

optional Goal value; integer.

active_minutes

optional Goal value; integer.

floors

optional Goal value; integer.

distance

optional Goal value; in the format X.XX or integer.

steps

optional Goal value; integer.

Details

See https://dev.fitbit.com/reference/web-api/activity/#update-activity-goals for more details.


tracker-neRds/wearable documentation built on Dec. 16, 2019, 12:49 a.m.