View source: R/join_controller.R
describe_tables | R Documentation |
Please see https://win-vector.com/2017/05/26/managing-spark-data-handles-in-r/ for details. Note: one usually needs to alter the keys column which is just populated with all columns.
describe_tables(db, tablenames, ..., keyInspector = key_inspector_all_cols)
db |
database handle |
tablenames |
character, names of tables to describe. |
... |
force later arguments to bind by name. |
keyInspector |
function that determines preferred primary key set for tables. |
Please see vignette('DependencySorting', package = 'rquery')
and vignette('joinController', package= 'rquery')
for more details.
table describing the data.
build_join_plan
, graph_join_plan
, actualize_join_plan
if (requireNamespace("DBI", quietly = TRUE) && requireNamespace("RSQLite", quietly = TRUE)) {
my_db <- DBI::dbConnect(RSQLite::SQLite(), ":memory:")
ex <- example_employee_date(my_db)
print(describe_tables(my_db, ex$tableName,
keyInspector = key_inspector_sqlite))
DBI::dbDisconnect(my_db)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.