Skip to contents

Questionnaire

Functions for getting full questionnaire content or questionnaire metadata.

parse_questionnaire()
Parses JSON questionnaire file into rectangular data frame
get_qnr_metadata()
Get metadata on questionnaire document metadata.

Groups

Get metadata about groups that contain questions

get_sections()
Get metadata for section.
get_sub_sections()
Get metadata for sub-sections
get_rosters()
Get metadata about rosters.

Content

Get metadata about questions, variables, and static text

get_questions()
Get metadata for questions
get_variables()
Get metadata for computed variables.
get_questions_by_section()
Get questions with the section to which each belongs.
get_static_texts()
Get metadata on static text.
get_validations()
Get metadata for validations

Answer options

Get answer options, however they are defined in Designer– whether

get_answer_options()
Get answer options
get_ms_answers_as_var_labels()
Get mutli-select answers as variable labels

Resources

get_macros()
Get metadata for macros.
get_categories()
Get metadata on categories.
get_translations()
Get metadata about translations.
get_attachments()
Get metadata on attachments
get_lookup_tables()
Get metadata on lookup tables.
get_critical_rules()
Get metadata on critical rules.

Parsing tools

Low-level tools for parsing questionnaire metadata

Reusable categories

find_categories()
Find paradata files
parse_categories()
Parse all categories files into a single data frame
parse_categories_file()
Parse a categories file
reshape_categories()
Reshape categories data
join_categories()
Join questionnaire metadata and categories metadata