Skip to contents

Write and Validate OHDSI OMOP MI-CDM Tables in a DBI / DuckDB Database

Usage

write_omop_micdm(con, occurrence_df, feature_df)

Arguments

con

An active DBI connection (e.g., DuckDB or PostgreSQL).

occurrence_df

Data frame from to_omop_image_occurrence().

feature_df

Data frame from to_omop_image_feature().

Value

A list with valid_fk, n_occurrences, and n_features.