get_body_fat_logs: Get Body Fat Logs

Description Usage Arguments

View source: R/body_weight.R

Description

get_body_fat_logs() retrieves a list of all user's body fat log entries for a given day.

Usage

1
2
get_body_fat_logs(token, date = "", base_date = "", period = "",
  end_date = "", simplify = TRUE)

Arguments

token

An OAuth 2.0 token generated by oauth_token()

date

The end date of the period specified in the format yyyy-MM-dd or today.

base_date

The range start date, in the format yyyy-MM-dd or today.

period

The range for which data will be returned. Options are 1d, 7d, 30d, 1w, or 1m.

end_date

The end date of the range. The period must not be longer than 31 days.

simplify

logical; should the result be simplified from a list to a data.frame if possible


teramonagi/fitbitr documentation built on Jan. 21, 2021, 8:35 p.m.