Extracts and processes a subset of EMBRACE data variables needed for EviGuide analysis.
This function loads combined EMBRACE-I and EMBRACE-II data, selects relevant clinical
and dosimetric variables, applies factor conversions, and saves the result as a CSV file.
Usage
save_eviguide_data(output_file = "clean_eviguide_em_data.csv", quote = TRUE)
Arguments
- output_file
Character, path where to save the CSV file (default: "clean_eviguide_em_data.csv")
- quote
Logical, whether to quote strings in the CSV output (default: TRUE)
Value
Invisibly returns the processed data frame
Examples
if (FALSE) { # \dontrun{
# Save with default filename
save_eviguide_data()
# Save with custom filename
save_eviguide_data("my_eviguide_data.csv")
} # }