Create_Survey: Create new surveys by the batch

Create_SurveyR Documentation

Create new surveys by the batch

Description

This allows you to add one or a whole batch of new surveys

Usage

Create_Survey(Surveys)

Arguments

Surveys

data.table specifying:

  • sid: <this column is mandatory!> the sid of the survey that you would like to assign it. If it is already taken, Limesurvey will graciously assign you a random sid instead.

  • title: <this column is mandatory!> What should the survey be called?

  • language: <this column is mandatory!> What is the base language of the survey? This needs to be given as a code, for example, english would be "en". For a reference of language codes (but not all of these are supported!): Language Codes

  • format: <this column is mandatory!> A code to specify question appearance format (A, G or S) for "All on one page", "Group by Group", or "Single questions". The default is group by group (G).

Examples

## Not run: 
Create_Survey(Surveys = data.table(sid = c(123456), title = c("Fancy Test Survey"), language = c("en"), format = c("G")))

## End(Not run)


bpresentati/surveyR documentation built on March 19, 2022, 3:40 a.m.