a_check_src: Check the source data whether include all the variable needed

View source: R/adt_private.R

a_check_srcR Documentation

Check the source data whether include all the variable needed

Description

Check the source data whether include all the variable needed

Usage

a_check_src(table_code, cur_dat, dict_src_tables)

Arguments

table_code

Code of subtables ("Cognitive" as "COG"), which can be mapped to the source data files and is used for internal data manipulation. The options are "COG" (Cognitive), "DIAG" (Diagnosis), "CSF" (FINAL_CSF), "DEMO" (Demographics), "HIPPO" (Hippocampus), "AMY" (Amygdala), "EC" (Entorhinal), "GE" (Genetics), "LIST_A" (list of patients not enrolled), "LIST_B" (list of patients impaired).

cur_dat

A dataset indicating current loaded subtable.

dict_src_tables

A dictionary file for the parameters. The default dictionary is appended in the package. Since the parameters in tables may vary, it could be modified by using a costomized parameter dictionary. The format can refer to the appended dictionary. See dict_src_tables for more details.

Value

A dataset includes missing variables information.

Examples

## Not run: 
a_check_src("DIAG", dict_src_tables, dat_diag)

## End(Not run)


Thewhey-Brian/ADTools documentation built on July 1, 2022, 2:08 a.m.