base_url_request: base function to return the data for the specified activity...

View source: R/fitbit_utils.R

base_url_requestR Documentation

base function to return the data for the specified activity based on the url

Description

base function to return the data for the specified activity based on the url

Usage

base_url_request(
  url,
  oauth_token,
  show_nchar_case_error = 135,
  simplifyVector = TRUE
)

Arguments

url

a character string specifying the input url

oauth_token

a character string specifying the authentication token

show_nchar_case_error

an integer value specifying the number of characters to show in case of an error

simplifyVector

a boolean. Coerce JSON arrays containing only primitives into an atomic vector (see the documentation of the jsonlite::fromJSON() function)

Value

an object of class list


fitbitViz documentation built on Jan. 6, 2023, 5:28 p.m.