Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

omop_tables

OMOP Tables


Description

Collection of functions to create prearranged views of OMOP patient data when supplied with database connection information and a mapping of the connected database.

Usage

omop_table_all_patients(table_map, db_connection)

omop_table_condition_era(table_map, db_connection, subject_id)

omop_table_condition_occurrence(table_map, db_connection, subject_id)

omop_table_death(table_map, db_connection, subject_id)

omop_table_device_exposure(table_map, db_connection, subject_id)

omop_table_dose_era(table_map, db_connection, subject_id)

omop_table_drug_era(table_map, db_connection, subject_id)

omop_table_drug_exposure(table_map, db_connection, subject_id)

omop_table_measurement(table_map, db_connection, subject_id)

omop_table_note(table_map, db_connection, subject_id)

omop_table_observation(table_map, db_connection, subject_id)

omop_table_observation_period(table_map, db_connection, subject_id)

omop_table_payer_plan_period(table_map, db_connection, subject_id)

omop_table_procedure_occurrence(table_map, db_connection, subject_id)

omop_table_specimen(table_map, db_connection, subject_id)

omop_table_visit_occurrence(table_map, db_connection, subject_id)

Arguments

table_map

A dplyr::tibble containing a mapping between the CDM standard tables and fields to the user connected tables and fields.

db_connection

A DBI::dbConnect object

subject_id

A numeric, or coercible to numeric.

Value

A dplyr::tibble containing pre-coordinated patient information from the connected database.


ReviewR

A Light-Weight, Portable Tool for Reviewing Individual Patient Records

v2.3.6
BSD_3_clause + file LICENSE
Authors
Laura Wiley [aut] (<https://orcid.org/0000-0001-6681-9754>), Luke Rasmussen [aut] (<https://orcid.org/0000-0002-4497-8049>), David Mayer [cre, aut], The Wiley Lab [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.