QuestionnaireHTML

Download and load the QuestionnaireHTML library

remotes::install_github("hedibmustapha/QuestionnaireHTML",build_opts = c())

Your inputs

Place your survey and choices csv files under the file input. Please note that if you are using multiple languages for your form, you need to move the column label of your desired output language before the others in your survey file.
Example 1 : If we want our output to be an English

type name label::English label::Arabic

Example 2 : If we want our output to be an Arabic

type name label::Arabic label::English

Quick start

Run the function questionnaire_to_html()

questionnaire_to_html(survey.file, choices.file, choices.label, survey.label, output.dir = "./",output.filename = "questionnaire.html", title = "", right.to.left = FALSE, special.characters ="")

Example 1
questionnaire_to_html("./input/questionnaire_file.csv", "./input/choices_file.csv", "label::Arabic", "label::Arabic", "constraint_message::Arabic", "./output", "survey.html", "Area Based Assessment 2019", TRUE, "arabic")

Example 2
questionnaire_to_html("./input/questionnaire_file.csv", "./input/choices_file.csv", "label", "label", "./", "questionnaire.html", "Area Based Assessment 2019", FALSE, "")

Quickstart youtube video
Please Click here to access the Youtube Video