What is the average age of patients when they are diagnosed (by country and subtype)?
What percentage of patients are taking Drug A (by country, subtype and year)?
Have you experienced scenarios have led you to having no data?
What problems did you encounter?
What values are unique per patient?
Which stratifications are viable?
Quarto document for data exploration and validation
Whose responsibility is it?
Hi Rhian, I have run the code, unfortunately I get the error you can see below.
Error in `purrr::map()`:■■■■■■■■■■■■■■■■■ 53% | ETA: 11s
In index: 18.
Caused by error in `dplyr::group_by()`:
! Must group by variables found in `.data`.
Column `time_axis` is not found.
> wb = openxlsx::createWorkbook("Results")
> openxlsx::addWorksheet(wb, "Analysis by country, subtype and drug")
Error in openxlsx::addWorksheet(wb, "Analysis by country, subtype and drug") :
sheetName 'Analysis by country, subtype and drug' too long! Max length is 31 characters.
Sure, I’ll run it right away and let you know!
Unfortunately, I get the error below. The same error also appears when I only use the data that you already have, which is strange because I suppose that you have already tested this script on that data.
Error in `dplyr::left_join()`:
! `...` must be empty.
✖ Problematic argument:
• relationship = "many-to-many"
purrr::map2()
with tidyr::nest()
was a helpful workflow