table_df_from_db: Load all rows from a database table and return as a dataframe

Description Usage Arguments Value

View source: R/read_data_utils.R

Description

Connects to the default database and looks up a table. Slightly more convenient than setting up the database connection first.

Usage

1
2
3
4
table_df_from_db(
  conn_args = config::get("dataconnection"),
  table_name = "glucose_records"
)

Arguments

conn_args

valid database connection

table_name

character string

Value

dataframe representation of the table


personalscience/psi-shiny-cgm documentation built on Dec. 22, 2021, 7:43 a.m.