Description Usage Arguments Examples
Query Table
1 | fetch_table(conn, table, where = "", dt = TRUE, verbose = TRUE)
|
conn |
connection to a database. |
table |
a character vector naming the table to query (e.g., "arrests") |
where |
a character vector for valid SQL WHERE query (e.g., "State = 'California' AND Variable = '2007'") |
dt |
a logical, if true table will be coerced to |
verbose |
a logical, if true the function prints the SQL query |
1 | ## Not run: fetch_arrests(conn = con, table = "arrests", where = "State = 'California' AND Variable = '2007'")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.