user_table function

user_table

user_table

user_table(table_map, db_con, desired_cdm_table)

Arguments

  • table_map: A dplyr::tibble , generated by mod_data_model_detection containing user database tables and fields mapped to the determined CDM.
  • db_con: A DBI::dbConnect object that is created through user interaction with the Setup Tab
  • desired_cdm_table: A string containing the table name in the desired CDM.

Returns

A SQL data source dplyr::tbl , ie. tbl(db_con, user_table), that connects to the user table that corresponds to the standard data model table.

  • Maintainer: David Mayer
  • License: BSD_3_clause + file LICENSE
  • Last published: 2023-09-01