Get_Surveys_Automatic: NEW NEW NEW (20210804) This is a more general Limesurvey...

View source: R/get_data.R

Get_Surveys_AutomaticR Documentation

NEW NEW NEW (20210804) This is a more general Limesurvey download function- it detects their (base) language automatically

Description

Note: download of a multi-part survey (or multiple single surveys) will fail with an error that base64 conversion could not be made if at least one of the surveys/components has no data. This does not mean this function has a problem- it means you should wait for the data!

Usage

Get_Surveys_Automatic(
  Survey_IDs,
  DocumentType = "csv",
  CompletionStatus = "all",
  HeadingType = "code",
  ResponseType = "short"
)

Arguments

Survey_IDs

this is a vector with the Limesurvey survey IDs of all the parts in the correct order (if they are ordered survey parts)

DocumentType

The default value is "csv". This is the format that you wish to have returned- possible options are "pdf", "csv", "xls", "doc", and "json"- none of which have been tested! There's no real reason to change this from the default! Use at your own risk!

CompletionStatus

The default value is "all". Other options are "complete", and "incomplete".

HeadingType

The default value is "code". Other options include "full", and "abbreviated".

ResponseType

The default value is "short". Other options include "long".

Examples

Cint_Surveys_0 <- Get_Surveys_Automatic(Survey_IDs_Cint)

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