sbf_save_db_metatable_descriptions: Saves Meta Table Descriptions to Database

View source: R/save.R

sbf_save_db_metatable_descriptionsR Documentation

Saves Meta Table Descriptions to Database

Description

Saves meta table descriptions to a database. Its important to note that if overwrite = TRUE and x includes blank descriptions then existing non-blank descriptions will be overwritten.

Usage

sbf_save_db_metatable_descriptions(
  x,
  db_name = sbf_get_db_name(),
  sub = sbf_get_sub(),
  main = sbf_get_main(),
  overwrite = FALSE,
  strict = TRUE
)

Arguments

x

A data.frame with Table, Column and Description columns.

db_name

A string of the database name.

sub

A string specifying the path to the sub folder (by default the current sub folder).

main

A string specifying the path to the main folder (by default the current main folder)

overwrite

A flag specifying whether to overwrite existing descriptions.

strict

A flag specifying whether to error if x has extraneous descriptions.

Value

A invisible data.frame of the altered descriptions.

See Also

Other save functions: sbf_basename_sans_ext(), sbf_save_aws_files(), sbf_save_block(), sbf_save_data(), sbf_save_data_to_db(), sbf_save_data_to_pg(), sbf_save_datas(), sbf_save_datas_to_db(), sbf_save_db_to_workbook(), sbf_save_excel(), sbf_save_excels(), sbf_save_gpkg(), sbf_save_gpkgs(), sbf_save_number(), sbf_save_numbers(), sbf_save_object(), sbf_save_objects(), sbf_save_plot(), sbf_save_png(), sbf_save_string(), sbf_save_strings(), sbf_save_table(), sbf_save_window(), sbf_save_workbook()


poissonconsulting/subfoldr2 documentation built on Nov. 17, 2024, 1:33 a.m.