describe_tbl: Download a codebook for a database table

Description Usage Arguments Value

View source: R/backup.R

Description

Download a codebook for a database table

Usage

1
describe_tbl(src, tbl_name)

Arguments

src

a dplyr-managed connection to a database

tbl_name

the name of a database table

Value

A dataframe describing each column of a database table. Columns in the dataframe: Table, Field, Index (type of database index), (storage) DataType, DefaultValue, NullAllowed (whether blanks are allowed), Description (the comment field from the table structure).


LearningToTalk/L2TDatabase documentation built on June 24, 2020, 3:45 a.m.