Create A data dictionary
create_datadict.RdWrapper function for creating a data dictionary. This function calls:
openxlsx2::wb_workbook(), add_form_overview(), add_form_sheets()
and link_form_sheets()
Usage
create_datadict(
datadict_tables,
title = NULL,
subtitle = NULL,
as_of_date = NULL,
form_type_description = TRUE,
doc_width = "G"
)Arguments
- datadict_tables
a list with tables for the data dictionary, created by
create_datadict_tables()- title
(character) Title of the document. Default = NULL
- subtitle
(character) subtitle of the document, e.g. researcher - study name. Default = NULL'
- as_of_date
(date) when the data set was created. Default = NULL
- form_type_description
(logical), Should short explanation of the different form types added to the form overview? Default = TRUE
- doc_width
(single character or numeric) Up to which column should the titles and texts spread? Default = "G"