View source: R/proteinDatabase.R
dbGetTable | R Documentation |
get a table from a .pdResult file
dbGetTable(
db,
tablename,
columns = NA,
filtering = " ",
sortorder = NA,
SQL = FALSE
)
db |
database access 'handle' |
tablename |
used to pass on the name of the table containing the data |
columns |
allows the selection of columns to take from the table, default = NA (all columns) |
filtering |
allows for " WHERE <expression>" additions to the SQL statement default = " " (no filtering). Note: always put a space (" ") before any statement |
sortorder |
allows for sorting of the selected columns, default = NA, (no sorting). Other valid value is a character character vector of columnNames to be used for sorting string (with "ASC" or "DESC" if needed) |
SQL |
allows the function to return the SQL query statement in stead of a data.frame |
a data.frame containing requested data from a database table or a character string specifying an SQL query
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.