This function creates and writes an HTML report file based on specified study and structure details.
write_html_file(
path,
structure = "USMR",
path_logo = NULL,
confidential = FALSE,
report_type = "Data review report",
study_id = "CHUBXYYYY/NN",
study_name = "The Study Name",
study_abbreviation = "TSN",
investigator = "Investigator name",
methodologist = "Jean Dupont",
biostatistician = "George Frais",
datamanager = "Peter Parker",
methodologist_mail = NULL,
biostatistician_mail = NULL,
datamanager_mail = NULL,
language = "fr"
)Character string specifying the file path where the HTML file will be saved.
Character string indicating the organizational structure, either "USMR" or "EUCLID". Default is "USMR".
Character string specifying the path to the logo image. If NULL, a default logo is used.
Logical value indicating whether the report should be marked as confidential. Default is FALSE.
Character string specifying the type of report. Default is "Data review report".
Character string representing the study identifier. Default is "CHUBXYYYY/NN".
Character string specifying the name of the study. Default is "The Study Name".
Character string providing the abbreviation of the study. Default is "TSN".
Character string representing the investigator's name. Default is "Investigator name".
Character string specifying the methodologist's name. Default is "Jean Dupont".
Character string specifying the biostatistician's name. Default is "George Frais".
Character string specifying the data manager's name. Default is "Peter Parker".
Character string specifying the methodologist's email. If NULL, it is generated automatically.
Character string specifying the biostatistician's email. If NULL, it is generated automatically.
Character string specifying the data manager's email. If NULL, it is generated automatically.
Character string indicating the language of the report, either "fr" (French) or "en" (English). Default is "fr".
None. The function writes an HTML report to the specified file path.