create_day7fu_outcome_qc_flowchart: Create a Flowchart Illustrating Cleaning Process for...

View source: R/create_cleaning_flowcharts.R

create_day7fu_outcome_qc_flowchartR Documentation

Create a Flowchart Illustrating Cleaning Process for Successful Day 7 Follow-up Data (TIMCI-specific)

Description

This function generates a flowchart diagram illustrating the cleaning process for successful Day 7 follow-up data specific to TIMCI. The flowchart visually represents the various stages and outcomes of data processing, including exclusion, editing, and checks for data quality.

Usage

create_day7fu_outcome_qc_flowchart(
  n_raw_day7fu_records,
  n_dropped_duplicate_records,
  n_fu_prior_day0_day7fu,
  n_death_prior_day0_day7fu,
  n_hospit_prior_day0_day7fu,
  n_death_prior_hospit_day7fu,
  n_cleaned_day7fu_records
)

Arguments

n_raw_day7fu_records

Number of raw Day 7 follow-up records in the dataset.

n_dropped_duplicate_records

Number of records dropped due to duplication.

n_fu_prior_day0_day7fu

Number of records with follow-up prior to Day 0 (enrolment).

n_death_prior_day0_day7fu

Number of records with death prior to Day 0 (enrolment).

n_hospit_prior_day0_day7fu

Number of records with hospitalization prior to Day 0 (enrolment).

n_death_prior_hospit_day7fu

Number of records with death prior to hospitalization.

n_cleaned_day7fu_records

Number of records after cleaning.

Value

A graph object representing the flowchart of the cleaning process.


Thaliehln/timci documentation built on April 8, 2024, 3:38 p.m.