A sample version of the file structure expected for the evp_variable_file
parameter in the evp_process function. The user should recreate this file
structure and include their own variables.
Format
evp_variable_file_omop
A data frame with 6 columns
- variable
A string label for the variable of interest
- domain_tbl
The name of the CDM table where the variable can be found
- concept_field
The field in the default_tbl that should be used to join to the codeset
- date_field
The date field in the default_tbl that should be used to filter the dataset to the cohort period and for longitudinal analyses
- codeset_name
The name of the codeset as found in the specs directory; file extension should not be included
- filter_logic
optional; a string to be parsed as logic to filter the default_tbl and better identify the variable of interest