Get data from a database table as a data.frame

get_table_data(pool_conn, schemaname = "public", tablename)

Arguments

pool_conn

A pool connection to a PostgreSQL database

schemaname

The schema from which to get the tables. Default is public

tablename

The name of the table to create the connection to

Value

A data.frame containing the data in the specified table