LoadData: Load numeric choice data from directory

Description Usage Arguments Value

View source: R/shiny_support.R

Description

Reads all individual choice data files, created by SurveyApp function, from a directory and concatenates those files into a single data file. Files containing either "num" or "char" will be read, with num indicating numeric data and char indicating character data. For more information, see output of SurveyApp.

Usage

1
LoadData(data.dir, type)

Arguments

data.dir

A character string containing the directory to read from.

type

Character vector containing either num or char.

Value

A data frame containg the full design and all the responses of the combined data files that were found. Different files are indicated by an ID variable.


idefix documentation built on Nov. 27, 2020, 1:07 a.m.