format_source_redcap_data_dictionary: Parses source redcap data dictionary to IDENTITY format

Description Usage Arguments Value

View source: R/format_source_redcap_data_dictionary.R

Description

Parses source redcap data dictionary to IDENTITY format

Usage

1
2
3
4
5
6
7
8
9
format_source_redcap_data_dictionary(
  path_to_redcap_source_file,
  project_alias,
  identity_id_starting_digit,
  identity_id_prefix,
  column_order = c("PROJECT_ALIAS", "IDENTITY_ID", "FORM_NAME", "VARIABLE_FIELD_NAME",
    "PERMISSIBLE_VALUE_LABEL", "FIELD_LABEL", "FIELD_TYPE",
    "CHOICES_CALCULATIONS_OR_SLIDER_LABELS", "FIELD_NOTE")
)

Arguments

project_alias

character string of length 1 for "PROJECT_ALIAS"

identity_id_starting_digit

character string of length 1 for the number the primary key should start at

identity_id_prefix

character string of length 1 for the prefix each primary key should have

Value

identity format of the source redcap data dictionary, where there are 3 additional columns for the parsed permissible values, an ID column, and a timestamp


patelm9/cartographR3 documentation built on Dec. 27, 2019, 2:24 a.m.