View source: R/surveypal_api.R
sp_get_answers | R Documentation |
Get answers to a survey from Surveypals.
sp_get_answers( survey_id, api_key, locale = NULL, answer_state = NULL, from = NULL, to = NULL, limit = NULL, use_question_id = FALSE, encoding = "UTF-8" )
survey_id |
Quest id from Surveypal. |
api_key |
Api-key from Surveypal. |
locale |
Locale. Default: first locale in the survey. |
answer_state |
Choises are "[all]", "[complete]", "[incomplete]", "[unstarted]", |
from |
First datetime to get the data. In the form YYYY-MM-DD, YYYY-MM-DD HH:mm:ss or DD.MM.YYYY. |
to |
Last datetime to get the data. In the form YYYY-MM-DD, YYYY-MM-DD HH:mm:ss or DD.MM.YYYY. |
limit |
Limit the number of returned answers. |
use_question_id |
Show element question id instead of question text. Default: false. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.