R/start_new_reporting.R
start_new_reporting.RdThis function creates and writes a qmd file with css and html to report statistical analysis.
start_new_reporting(
folder_path,
output_folder,
name = "report",
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"
)The folder where this should be created
The folder where the html will be recorded.
The name of the files
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.