View source: R/create_cleaning_flowcharts.R
create_hospit_qc_flowchart | R Documentation |
This function generates a flowchart diagram illustrating the cleaning process for hospitalisation data specific to TIMCI. The flowchart visually represents the various stages and outcomes of data processing, including exclusion, editing, and checks for data quality related to hospitalisation records.
create_hospit_qc_flowchart(
n_raw_hospit_records,
n_cdsa_pilot_hospitfu_records,
n_afterlock_pids_hospitfu_records,
n_nonvalid_pid_records,
n_edit_nonvalid_pid_hospitfu_records,
n_drop_nonvalid_pid_hospitfu_records,
n_inconsistent_names_day7fu_records,
n_edit_inconsistent_name_hospitfu_records,
n_drop_inconsistent_name_hospitfu_records,
n_duplicated_records,
n_death_prior_day0_hospitfu,
n_hospit_prior_day0_hospitfu,
n_discharge_prior_day0_hospitfu,
n_cleaned_hospit_records
)
n_raw_hospit_records |
Initial number of hospitalisation records in the dataset. |
n_cdsa_pilot_hospitfu_records |
Number of records related to the CDSA pilot (India only). |
n_afterlock_pids_hospitfu_records |
Number of records outside the specified lock date range. |
n_nonvalid_pid_records |
Number of records with non-valid child IDs (out of a total of detected IDs). |
n_edit_nonvalid_pid_hospitfu_records |
Number of records edited due to non-valid child IDs. |
n_drop_nonvalid_pid_hospitfu_records |
Number of records dropped due to non-valid child IDs. |
n_inconsistent_names_day7fu_records |
Number of records with non-consistent names (out of a total of detected inconsistencies). |
n_edit_inconsistent_name_hospitfu_records |
Number of records edited due to non-consistent names. |
n_drop_inconsistent_name_hospitfu_records |
Number of records dropped due to non-consistent names. |
n_duplicated_records |
Number of records with an entry date posterior to the lock date. |
n_death_prior_day0_hospitfu |
Number of records with death prior to enrolment. |
n_hospit_prior_day0_hospitfu |
Number of records with hospitalisation prior to enrolment. |
n_discharge_prior_day0_hospitfu |
Number of records with discharge prior to enrolment. |
n_cleaned_hospit_records |
Number of records after cleaning. |
A graph object representing the flowchart of the hospitalisation data cleaning process.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.