create_repeat_qc_flowchart: Create a Flowchart Illustrating Cleaning Process for Repeat...

View source: R/create_cleaning_flowcharts.R

create_repeat_qc_flowchartR Documentation

Create a Flowchart Illustrating Cleaning Process for Repeat Visit Data (TIMCI-specific)

Description

This function generates a flowchart diagram illustrating the cleaning process for repeat visit 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 repeat visit records

Usage

create_repeat_qc_flowchart(
  n_raw_repeat_records,
  n_nonvalid_pids_repeat_records,
  n_edit_nonvalid_pid_repeat_records,
  n_drop_nonvalid_pid_repeat_records,
  n_edit_inconsistent_names_repeat_records,
  n_drop_inconsistent_names_repeat_records,
  n_nonconsistent_names_repeat_records,
  n_visit_before_enrolment,
  n_cleaned_repeat_records
)

Arguments

n_raw_repeat_records

Number of records

n_nonvalid_pids_repeat_records

Number of records with a non-valid participant ID

n_cleaned_repeat_records

TBD

Value

This function returns a graph object


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