db_table_fields: Retrieve table schema from database

Description Usage Arguments Value Examples

Description

Retrieves the field names and types from a given database table

Usage

1
db_table_fields(ch, table_name)

Arguments

ch

Connection handle to database

Value

A dataframe containing the column names and types for the specified table

Examples

1
2
ch <- db_connect("D:/Dropbox/Work/mystic/db/MysticDB_20160208.accdb")
schema_results <- db_table_fields(ch, table_name = "Results")

walkerjeffd/myrwaR documentation built on May 3, 2019, 10:46 p.m.