Description Usage Arguments Details Value Author(s) References Examples
Get response counts for a survey collector
1 2 | responsecounts(collector, api_key = getOption('sm_api_key'),
oauth_token = getOption('sm_oauth_token'), ...)
|
collector |
A collector ID number (or an object of class “sm_collector” from which it can be extracted), possibly returned by |
api_key |
Your API key. By default, retrieved from |
oauth_token |
Your OAuth 2.0 token, as generated by |
... |
Other arguments passed to |
Retrieves number of (started and completed) responses for a specified survey collector.
A list containing response counts.
Thomas J. Leeper
https://developer.surveymonkey.com/mashery/get_response_counts
1 2 3 4 5 6 | ## Not run:
smlogin()
s <- surveylist()
lapply(collectors(s[[1]]$survey_id), function(x) responsecounts(x$collector_id))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.