Survey Solutions API call for Summary Tables
Source:R/httr2_suso_api_statistics.R
suso_get_stats.RdReturns summary tables for individual questions from Survey Solutions statistics. If no responses have been provided, an empty table will be returned.
Usage
suso_get_stats(
server = suso_get_api_key("susoServer"),
apiUser = suso_get_api_key("susoUser"),
apiPass = suso_get_api_key("susoPass"),
workspace = suso_get_api_key("workspace"),
token = NULL,
questID = NULL,
version = NULL,
qQuest = "",
byTeam = TRUE,
exportType = c("Csv", "Json")
)Arguments
- server
Survey Solutions server address
- apiUser
Survey Solutions API user
- apiPass
Survey Solutions API password
- workspace
server workspace, if nothing provided, defaults to primary
- token
If Survey Solutions server token is provided apiUser and apiPass will be ignored
- questID
Questionnaire ID (GUID)
- version
Version of the questionnaire (numeric)
- qQuest
Question variable name or UUID
- byTeam
Logical, whether the table should contain reports by team (default:
TRUE)- exportType
Report format:
"Csv"(default) or"Json"