View source: R/dbpf_table_columns.R
dbpf_table_columns | R Documentation |
Return all columns from a table within the permafrost database @ Carleton University
dbpf_table_columns(con, tablename, detailed = F)
con |
Database connection object, as returned by |
tablename |
Name of the table for which to retrieve field names |
detailed |
logical, whether or not to return a list of all column information or just names. Default to false. |
These simple functions return all data as data frames. When making a query many times, optimise the SQL statement to only request the data you actually need.
List of columns in the DB table
Nick Brown <nick.brown@carleton.ca>
## Not run:
location_cols <- dbpf_table_columns('locations')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.