Creates a data dictionary summarizing all datasets/tables
with their documentation, schemas, and column information.
Usage
db_dictionary(section = NULL, schema = NULL, include_columns = TRUE)
Arguments
- section
Limit to specific section (hive mode, optional)
- schema
Limit to specific schema (DuckLake mode, optional)
- include_columns
Include column-level details (default TRUE)
Value
A data.frame with the data dictionary
Examples
if (FALSE) { # \dontrun{
db_connect()
dict <- db_dictionary()
# Export to Excel
writexl::write_xlsx(dict, "data_dictionary.xlsx")
} # }