LoadData: Load numeric choice data from directory

View source: R/shiny_support.R

LoadDataR Documentation

Load numeric choice data from directory

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

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 March 28, 2022, 5:05 p.m.