GetFitDataset {RGoogleFit}R Documentation

GetFitDataset

Description

Retrieves a dataset for a given datasource and time range defined by startTime and endTime. Refer to https://developers.google.com/fit/rest/v1/datasets for full documentation.

Usage

GetFitDataset(token, datasource, startTime, endTime)

Arguments

token

- OAuth 2.0 access token

datasource

- Data Stream ID

startTime

- Start time for dataset. Date datatype is required

endTime

- End time for dataset. Date datatype is required


[Package RGoogleFit version 0.4.0 Index]