# Personalized Coach for Fitbit and R API

## Documentation for package ‘fitcoach’ version 1.0

- DESCRIPTION file.

## Help Pages

augmentData | Augments the Master data.frame with additional information
augmentIntraData | Augments the intra day data.frame with additional information
buildChartDay | Build Day timeseries Chart
buildChartIntra | Build Intraday Chart
connectToAPI | Connects to Fibit API
createDependentVariableFrame | Creates a data.frame with only goal variables
createGoalVariableVector | Creates a vector of goal variables
createIntraFrame | Creates the intraday Frame
createTsMasterFrame | Creates the Master data.frame from Timeseries JSON files.
DataLoader | R6 class for Loading Fitbit data
fetchIntraResourceData | Loads the JSON files for intraday data and returns a data.frame
FitAnalyzer | R6 class for Analyzing Fitbit Data
getAPIScope | Get API scope
getDailyResourcePathList | Returns a list of Fitbit Daily activities
getIntradayResourcePathList | Returns a list of Fitbit Intraday activities
makeAPIRequest | Make API Request
markValidRows | Incorporates rules for marking if the data entry in MasterTSFrame are valid or not
properCase | Proper Case
writeToJSON | Write to JSON