Parse_Array_Writer: Reforms the Array_Writer responses into long data

View source: R/manipulate.R

Parse_Array_WriterR Documentation

Reforms the Array_Writer responses into long data

Description

Reforms the Array_Writer responses into long data

Usage

Parse_Array_Writer(
  columns_dt,
  key_name = "key",
  names = c("evaluation", "code")
)

Arguments

columns_dt

these are the columns that need to be reformed (for example, all of the driver storage columns) AND a "key" column that uniquely identifies the respondent

key_name

This is a string that specifies the name of the unique identifier column for each response. Default is "key"

names

These are the names of the variables that you want to result. Defaults to c("evaluation", "code").

Value

a three column data.table with the key, the evaluation, and the code corresponding to that evaluation- the code could be a company name, for example, or a driver question code

Examples

## Not run: 
Parse_Array_Writer(driver_storage_columns)

## End(Not run)

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