R/safo.R

#' Random generated dataset from the SAFO study
#'
#' This dataset is a random generated dataset to reproduce the numbers needed to generate the flowchart of the SAFO study. SAFO is an open-label, multicenter, phase III–IV superiority randomized clinical trial to assess whether cloxacillin plus fosfomycin administered for the initial 7-days of therapy achieves better treatment success than cloxacillin alone in hospitalized patients with MSSA bacteremia.
#'
#' @docType data
#' @keywords datasets
#' @usage data(safo)
#'
#' @format A data frame with 925 rows and 21 columns
#'  \describe{
#'   \item{id:}{Identifier of each patient. This information does not match the real data.}
#'   \item{inclusion_crit:}{The patient not met the inclusion criteria?}
#'   \item{exclusion_crit:}{The patient met the exclusion criteria?}
#'   \item{chronic_heart_failure:}{Exc1: Chronic heart failure?}
#'   \item{expected_death_24h:}{Exc2: Clinical status with expected death in <24h?}
#'   \item{polymicrobial_bacteremia:}{Exc3: Polymicrobial bacteremia?}
#'   \item{conditions_affect_adhrence:}{Exc4: Conditions expected to affect adhrence to the protocol?}
#'   \item{susp_prosthetic_valve_endocard:}{Exc5: Suspicion of prosthetic valve endocarditis?}
#'   \item{severe_liver_cirrhosis:}{Exc6: Severe liver cirrhosis?}
#'   \item{acute_sars_cov2:}{Exc7: Acute SARS-CoV-2 infection?}
#'   \item{blactam_fosfomycin_hypersens:}{Exc8: Beta-lactam or fosfomycin hypersensitivity?}
#'   \item{other_clinical_trial:}{Exc9: Participation in another clinical trial?}
#'   \item{pregnancy_or_breastfeeding:}{Exc10: Pregnancy or breastfeeding?}
#'   \item{previous_participation:}{Exc11: Previous participation in the SAFO trial?}
#'   \item{myasthenia_gravis:}{Exc12: Myasthenia gravis?}
#'   \item{decline_part:}{The patient declined to participate?}
#'   \item{group:}{Randomized treatment received: cloxacilin alone / cloxacilin plus fosfomycin}
#'   \item{itt:}{The patient belongs to the intention to treat (ITT) group?}
#'   \item{reason_itt:}{Reason for exclusion from the ITT group.}
#'   \item{pp:}{The patient belongs to the per protocol (PP) group?}
#'   \item{reason_pp:}{Reason for exclusion from the PP group.}
#' }
#'
#' @references
#' Grillo, S., Pujol, M., Miró, J.M. et al. Cloxacillin plus fosfomycin versus cloxacillin alone for methicillin-susceptible Staphylococcus aureus bacteremia: a randomized trial. Nat Med 29, 2518–2525 (2023). https://doi.org/10.1038/s41591-023-02569-0
#'
"safo"

Try the flowchart package in your browser

Any scripts or data that you put into this service are public.

flowchart documentation built on June 8, 2025, 1:35 p.m.