writeToJSON: Write to JSON

Description Usage Arguments

Description

Writes API response content to JSON files, in a specific folder

Usage

1
writeToJSON(content, path, type, activity, start.date)

Arguments

content

JSON content to be written to file

path

Path to folder where files will be created

type

Type of time series. Must be 'day' or 'intraday'

activity

Type of activity. See below for details.

start.date

Start date


fitcoach documentation built on April 14, 2017, 7:52 a.m.