Description Usage Arguments Examples
Creates a .csv file with columns: KeyType, Table, Column, Type, Comment, RelationshipWithTable, RelationshipWithColumn, Transformation
1 | write_db_fields_csv(db_fields, csv_path, Update_DBEnv_DBFields = FALSE)
|
db_fields |
A DF. A dataframe formatted according to the db_fields standard. |
csv_path |
A String. The path of the db_fields .csv file. |
Update_DBEnv_DBFields |
A Boolean. If set to TRUE, you can have an internal main db_fields accessible via db$db_fields usually acting as the main db_fields. Default is FALSE as having local db_fields variables is the default behaviour. |
1 2 3 4 5 6 7 | Example 1:
db_fields <- zinternal_create_default_db_fields_from_db_con(csv_path)
write_db_fields_csv(db_fields, "db_fields.csv")
Example 2:
db_fields <- read_db_fields_csv("db_fields.csv")
write_db_fields_csv(db_fields, "db_fields.csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.