querySAGE {SAGElyzer} | R Documentation |
These functions provides an interface for inputing query parameters for querying a table in a given database. Interface between R and the underlaying database management system is through Rdbi.
querySAGE(args, dbObj = PgSQL()) getTableNames(args, dbObj) getColumnNames(tableName, args, dbObj)
args |
args a list containing the arguments presented as
name and value pairs. Valid element names include "dbname", "user",
"password", "host", "hostaddr", and "port" |
dbObj |
dbObj a binding object for a given dbms
(e. g. PgSQL() for postgreSQL) |
tableName |
tableName a character string for the name of a
database table |
getTableNames
and getColumnNames
get the
names of selected database columns.
getTableNames
returns a vector of character strings for
database table names.
getColumnNames
returns a vector of character strings for
column names of a given database table.
Jianhua Zhang
# No example is provided as support of a database is required