db_variables: Function to return all variable names in all tables in a SQL...

View source: R/db_variables.R

db_variablesR Documentation

Function to return all variable names in all tables in a SQL database.

Description

If there are complexities around schemas, PostGIS tables, or temporary tables, the table name is returned with a single variable of NA.

Usage

db_variables(con)

Arguments

con

Database connection.

Author(s)

Stuart K. Grange

Examples

## Not run: 

# Get variables
table_variables <- db_variables(con)


## End(Not run)


skgrange/databaser documentation built on Sept. 26, 2024, 8:30 p.m.