Description Usage Arguments Details Value Examples
This function allows you to export data by specifying what question Ids you want to export
1 2 3 | GetAnswers(Username, Password, RequiredQidsVect, AfterDate, BeforeDate,
MaxSampleSize = 0, Randomize = FALSE, ReturnIntersectedSet = FALSE,
Questionnaires = NULL)
|
Username |
your CC username |
Password |
your CC password |
RequiredQidsVect |
a vector of strings specifying what all qids you want to export |
AfterDate |
String of start date in format - "YYYY-MM-DD" |
BeforeDate |
String of end date in format - "YYYY-MM-DD" |
MaxSampleSize |
specifies what is the maximum sample set you wish to export, by default returns all data |
Randomize |
true if you wish to randomize the data in the given time range and then export. by default set to False |
ReturnIntersectedSet |
set to true if you want to pull the data with an intersection (i.e., AND condition) between the Question ID's specified |
Questionnaires |
this is a vector of questionnaires from which you would want to pull data |
Install the following packages- httr, jsonlite before you use this. Performance depends on how much data is present in the specified time frame.
R DataFrame with CC data
1 | GetAnswers("username", "password", c("59df48ea81180318b06d0199", "59df48ea81180318b06d019a"), "2018-01-14", "2018-05-15", 2000, TRUE, TRUE, c("Q1"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.