psi_make_table_with_index: Show table as a dataframe

Description Usage Arguments Value

View source: R/db_create.R

Description

Read contents of table from the database and return it as a dataframe

Usage

1
2
3
4
5
6
psi_make_table_with_index(
  conn_args = config::get("dataconnection"),
  table_name = "experiments",
  table = NULL,
  index = NULL
)

Arguments

conn_args

connection

table_name

character string name for the table.

table

a valid glucose data frame. Never use the default value unless you are testing.

index

(list) table column to be used for index

Value

dataframe

NULL if table already exists. Otherwise creates the table and returns TRUE invisibly.


personalscience/tasterdb documentation built on Dec. 22, 2021, 7:44 a.m.