write_questionnaire: Write questionnaire

Description Usage Arguments Author(s) Examples

Description

This function writes a questionnaire as extracted by get_questionnaire to a specified xlsx-file (with styling). Only writes the latent association, manifest name, possible values and the question text itself.

Usage

1
2
write_questionnaire(quest, file, study = "Banking", segment = "B2C",
  entity = NULL)

Arguments

quest

The questionnaire (r object).

file

The name of the xlsx file you would like to write to.

study

Name of the study to write.

segment

The segment being studied.

entity

Optional: Replace XX with something else.

Author(s)

Kristian D. Olsen

Examples

1
2
q <- read_data("master questionnaire.xlsx", sheet = "questionnaires")
write_questionnaire(q, "Banking B2C.xlsx", study = "Banking", segment = "B2C")

itsdalmo/reporttool documentation built on May 18, 2019, 7:11 a.m.