fix_limesurvey_likert: Format LimeSurvey Likert-type Data

View source: R/GridProcessing.R

fix_limesurvey_likertR Documentation

Format LimeSurvey Likert-type Data

Description

Replaces LimeSurvey's formatting of Likert-type data with the standard numerical scale points.

Usage

fix_limesurvey_likert(
  dat,
  mapping = "DA9",
  lsvals = NULL,
  livals = NULL,
  cols = NULL
)

Arguments

dat

data frame of LimeSurvey formatted Likert-type data.

mapping

character indicating which pre-generated mapping from LimeSurvey notation to numeric values should be used.

lsvals

character vector of LimeSurvey's notation for Likert-type scale points.

livals

integer vector of Likert-type scale points.

cols

integer vector indicating which columns/items the fix should be applied to. If default (NULL), all columns/items will be used.

Value

A data frame of numeric Likert-type values for each response.


douglaswhitaker/GridItemTools documentation built on Aug. 2, 2022, 4:32 a.m.