View source: R/getDependencies.R
Function accepts a data model from loadDataModel() and returns a list of dependencies between tables based on the presence or absence of index columns (columns that end with "<table_name>_id"). By default the dependencies of each tableare returned in a list, but if return_matrix is TRUE this function returns a matrix. If table names are included in as a vector to 'inc_tabs', only those tables are included in the matrix.
1 | getDependencies(data_model = loadDataModel(), inc_tabs, return_matrix = FALSE)
|
data_model |
Data model from loadDataModel(), in single-table format. |
inc_tabs |
Only include tables with these names. |
return_matrix |
Return dependencies as integer-format matrix of directional connections. getDependencies() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.