join_eval: Join multiple course evaluations into one data frame

Description Usage Arguments Value Examples

View source: R/join_eval.R

Description

This function takes a list of data frames from read_eval and returns a single data frame with appropriate labels.

Usage

1
2
join_eval(data, subset = NULL, lang = c("de", "en"), names = NULL,
  wide_format = FALSE)

Arguments

data

Data frame as returned from read_eval

subset

Optional numeric vector identifying a subset of data sets, which should be used (e.g., c(1, 3:5)).

lang

Character string specifying the language of the variable names.

names

Optional character vector supplying the names of the courses. Number of elements must match the number of files.

wide_format

Logical indicating whether data should be returned in wide format.

Value

A data frame (more precisely, a tibble) with scores for all scales and persons.

Examples

1
2
3
4
5
## Not run: 
tmp1 <- read_eval("./data/")      # read all files
dat1 <- join_eval(tmp1)          # combine data frames for plotting

## End(Not run)

hplieninger/instevalR documentation built on May 17, 2019, 4:54 p.m.