Package 'QuestionnaireHTML'

Title: What the Package Does (Title Case)
Description: More about what it does (maybe more than one line) Use four spaces when indenting paragraphs within the Description.
Authors: Who wrote it
Maintainer: The package maintainer <[email protected]>
License: What license is it under?
Version: 0.1.0
Built: 2024-09-20 01:59:42 UTC
Source: https://github.com/hedibmustapha/QuestionnaireHTML

Help Index


Using the function Load questionnaire from koboquest with fake data

Description

Using the function Load questionnaire from koboquest with fake data

Usage

load_questionnaire_without_data(questions.file, choices.file,
  choices.label.column.to.use = NULL)

Arguments

questions.file

Path to your questionnaire csv file as character.

choices.file

Path to your choices csv file as character.

choices.label.column.to.use

Choices label column to be used as character.

Value

Loaded questionnaire

Examples

load_questionnaire_without_data("questionnaire_file.csv", "choices_file.csv", "label::Arabic",)

Map results to an output template

Description

Map results to an output template

Usage

render_questionnaire_rmd(x, dir, filename)

Arguments

x

list of parameters

dir

the directory in which to save the output file (absolute path or relative to current working directory)

filename

the name of the file. must end in '.html'


Rename the header used in the choices file to label

Description

Rename the header used in the choices file to label

Usage

sanitise_choices_label_listname(original.label, choices.names)

Arguments

original.label

Name of the survey header to use.

choices.names

names of all columns.


Rename the header used in the questonnaire file to constraint.message

Description

Rename the header used in the questonnaire file to constraint.message

Usage

sanitise_constraint_message_label(original.label, survey.names)

Arguments

original.label

Name of the survey header to use.

survey.names

names of all columns.


Rename the header used in the questonnaire file to label

Description

Rename the header used in the questonnaire file to label

Usage

sanitise_survey_label(original.label, survey.names)

Arguments

original.label

Name of the survey header to use.

survey.names

names of all columns.