Learn R Programming

fitcoach (version 1.0)

Personalized Coach for Fitbit and R API

Description

Fitbit R API that provides fitbit coach functionality by analyzing your data obtained via fitbit API calls, and by giving personalized recommendations for the rest of the day based on your behavior.

Copy Link

Version

Install

install.packages('fitcoach')

Monthly Downloads

1

Version

1.0

License

GPL-3

Maintainer

Niraj Juneja

Last Published

April 19th, 2016

Functions in fitcoach (1.0)

buildChartDay

Build Day timeseries Chart
createGoalVariableVector

Creates a vector of goal variables
fetchIntraResourceData

Loads the JSON files for intraday data and returns a data.frame
createDependentVariableFrame

Creates a data.frame with only goal variables
getAPIScope

Get API scope
augmentData

Augments the Master data.frame with additional information
getIntradayResourcePathList

Returns a list of Fitbit Intraday activities
connectToAPI

Connects to Fibit API
properCase

Proper Case
DataLoader

R6 class for Loading Fitbit data
createTsMasterFrame

Creates the Master data.frame from Timeseries JSON files.
writeToJSON

Write to JSON
markValidRows

Incorporates rules for marking if the data entry in MasterTSFrame are valid or not
augmentIntraData

Augments the intra day data.frame with additional information
buildChartIntra

Build Intraday Chart
createIntraFrame

Creates the intraday Frame
FitAnalyzer

R6 class for Analyzing Fitbit Data
getDailyResourcePathList

Returns a list of Fitbit Daily activities
makeAPIRequest

Make API Request