sp_get_answers: sp_get_answers

View source: R/surveypal_api.R

sp_get_answersR Documentation

sp_get_answers

Description

Get answers to a survey from Surveypals.

Usage

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"
)

Arguments

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.


JouniVatanen/jmisc documentation built on Jan. 25, 2023, 8:41 p.m.