edit_db_fields: Edits a db_fields formatted DF

Description Usage Arguments Examples

Description

Opens a browser window where the user can select which columns to include and see the relationships amongst the tables. When the browser window closes, the results are saved on the DF, but NOT on the db_fields.csv file; for this use write_db_fields_csv()

Usage

1
edit_db_fields(db_fields = db$db_fields, Update_DBEnv_DBFields = FALSE)

Arguments

db_fields

A DF. A dataframe formatted according to the db_fields standard.

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.

Examples

1
2
3
db_fields <- read_db_fields_csv("db_fields.csv")
edit_db_fields(db_fields)
write_db_fields_csv(db_fields, "db_fields.csv")

N1h1l1sT/dbautojoinr documentation built on Jan. 24, 2021, 10:15 a.m.