get_responses: Get Qualtrics Responses

View source: R/get_responses.R

get_responsesR Documentation

Get Qualtrics Responses

Description

Get Qualtrics Responses

Usage

get_responses(
  survey_id,
  file_format = c("spss", "csv", "tsv"),
  out_dir = NULL,
  trim_rows = TRUE,
  useLabels = FALSE,
  variable_labels = TRUE,
  exportResponsesInProgress = FALSE,
  limit = NULL,
  zap_empty = TRUE
)

Arguments

survey_id

string

file_format

one of c('spss', 'csv', 'tsv')

out_dir

a string path to a directory for output

trim_rows

should the first two rows (metadata) be discarded? Does not apply when file_format = 'spss'

useLabels

Should value labels be downloaded instead of recodes?

variable_labels

Should variable labels (from expss) be applied/retained?

exportResponsesInProgress

Should incomplete responses be exported instead?

limit

Maximum number of responses to export.

zap_empty

Should haven::zap_empty be applied to all character columns?

Details

Note that value labels are returned when file_format = 'spss' only.

Value

a tibble of the responses

Author(s)

Sven Halvorson (svenpubmail@gmail.com)


svenhalvorson/qualtreats documentation built on May 3, 2024, 9:33 a.m.