Updated Readme File with additional sections and info
Fixed Roxygen parsing bug by moving the documentation outside the function body
Added Roxygen generated .Rd files for both scripts
Added /demo directory and code
Added roxygen generated NAMESPACE File
Removed some fields from DESCRIPTION File
Separated all functions into separate files for better Roxygen parsing and readability.
Added @export tag to ValidateToken and RemoveAppCredentials so that these functions are loaded into NAMESPACE
Separated LoadAccessToken() from QueryBuilder Class
Added @export tag to Init()
Added @export tag to GetProfileData()
Updated Documentation for Init Function
Major Changes in QueryBuilder Class
- Input Argument is a list of Query Parameters
- profile.id is renamed to table.id and hence is now correctly abstracted away from the user
- Add a SetQueryParams() function that acts as a constructor
Updated documentation for Init(). Init() takes individual Query Parameters from the user and collates them into a list
GetReportData() now calls SetQueryParams() to initialize and validate Query Parameters
Changes in Demo Code to reflect the internal changes in the QueryBuilder
- Added missing argument 'sort' in Init()
- Minor Cleanup in documentation sections for RemoveAppCredentials() and RemoveToken()
Updated NAMESPACE file to accomodate internal code changes