sbf_load_datas_from_pg | R Documentation |
Load all the tables in a schema as data frames into your environment from a PostgreSQL database.
sbf_load_datas_from_pg(
schema = getOption("psql.schema", "public"),
rename = identity,
env = parent.frame(),
config_path = getOption("psql.config_path", NULL),
config_value = getOption("psql.config_value", "default")
)
schema |
A string of the schema name. Default value is |
rename |
A single function argument which takes a character vector and returns a character vector of the same length. Used to rename objects before they are loaded into the environment. |
env |
The environment to the objects into |
config_path |
A string of a file path to the yaml configuration file.
The default value grabs the file path from the psql.config_path option
and uses |
config_value |
A string of the name of value. The default value grabs
the value from the psql.config_value option and uses |
An invisible character vector of the paths to the saved objects.
Other postgresql functions:
sbf_backup_pg()
,
sbf_close_pg()
,
sbf_create_pg()
,
sbf_execute_pg()
,
sbf_get_config_file()
,
sbf_get_config_value()
,
sbf_get_schema()
,
sbf_list_tables_pg()
,
sbf_load_data_from_pg()
,
sbf_open_pg()
,
sbf_reset_config_file()
,
sbf_reset_config_value()
,
sbf_reset_schema()
,
sbf_save_data_to_pg()
,
sbf_set_config_file()
,
sbf_set_config_value()
,
sbf_set_schema()
Other load functions:
sbf_load_block()
,
sbf_load_blocks()
,
sbf_load_blocks_recursive()
,
sbf_load_data()
,
sbf_load_data_from_db()
,
sbf_load_data_from_pg()
,
sbf_load_datas()
,
sbf_load_datas_from_db()
,
sbf_load_datas_recursive()
,
sbf_load_db_metatable()
,
sbf_load_number()
,
sbf_load_numbers()
,
sbf_load_numbers_recursive()
,
sbf_load_object()
,
sbf_load_objects()
,
sbf_load_objects_recursive()
,
sbf_load_plot()
,
sbf_load_plot_data()
,
sbf_load_plots_data()
,
sbf_load_plots_data_recursive()
,
sbf_load_plots_recursive()
,
sbf_load_string()
,
sbf_load_strings()
,
sbf_load_strings_recursive()
,
sbf_load_table()
,
sbf_load_tables()
,
sbf_load_tables_recursive()
,
sbf_load_windows_recursive()
,
sbf_subs_block_recursive()
,
sbf_subs_data_recursive()
,
sbf_subs_number_recursive()
,
sbf_subs_object_recursive()
,
sbf_subs_plot_recursive()
,
sbf_subs_string_recursive()
,
sbf_subs_table_recursive()
,
sbf_subs_window_recursive()
## Not run:
sbf_load_datas_from_pg()
sbf_load_datas_from_pg(schema = "capture")
sbf_load_datas_from_pg(rename = toupper)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.