get_table_defs: Get Table Definition from PODR

Description Usage Arguments Value Author(s) Examples

View source: R/get_table_defs.R

Description

This function will get column definition for a table in"PODR".

Usage

1
get_table_defs(tab_name, con = getOption("podr_connection"))

Arguments

tab_name

table name

con

The connection to PODR. Use connect_podr to establish a connection, or specify a variable containing the proper PostgreSQL connection into PODR yourself

Value

column definition in a data.frame

Author(s)

Hanming Tu

Examples

1
2
3
4
5
## Not run: 
cc <- conn_podr()
get_table_defs('css_2020_ae',con=cc)

## End(Not run)

TuCai/podr documentation built on June 8, 2021, 5:37 a.m.