Sets the respective column as the display value for all tables in data. A convenience function that
combines several of the other functions found in this package.
Usage
set_display_vals(
data,
id_base = base_id(origin = origin, email = email, password = password, api_token =
api_token),
origin = funky::config_val("origin"),
email = funky::config_val("email"),
password = funky::config_val("password"),
api_token = funky::config_val("api_token"),
quiet = FALSE
)Arguments
- data
data.frame
Dataframe with the two columnsnameanddisplay_colthat defines the table-name-and-display-value-column mapping to be applied. Additional columns are ignored.- id_base
character(1)
NocoDB base identifier as returned bybase_id().- origin
character(1)
NocoDB server origin.character(1)
E-mail address of the NocoDB user to authenticate with.- password
character(1)
Password of the NocoDB user to authenticate with.- api_token
character(1)
NocoDB API token. Takes precedence overemailandpasswordif provided.- quiet
logical(1)
Whether or not to suppress printing status output from internal processing.
See also
Other functions to manage NocoDB table columns:
create_tbl_col(),
delete_tbl_col(),
set_display_val(),
tbl_col(),
tbl_col_id(),
tbl_cols(),
update_tbl_col()