sbf_save_gpkgs: Save sf data frames to Geopackages

View source: R/save.R

sbf_save_gpkgsR Documentation

Save sf data frames to Geopackages

Description

An sf object of file name file_name is saved as file_name.gpkg.

Usage

sbf_save_gpkgs(
  sub = sbf_get_sub(),
  main = sbf_get_main(),
  env = parent.frame(),
  all_sfcs = TRUE
)

Arguments

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)

env

An environment.

all_sfcs

A flag specifying whether to save non-active sfc columns as geopackages.

Details

By default (all_sfcs = TRUE) non-active sfc columns are saved as file_name_geometry_column_name.gpkg this includes data frames with no active sfc column.

Value

An invisible character vector of the paths to the saved objects.

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_metatable_descriptions(), sbf_save_db_to_workbook(), sbf_save_excel(), sbf_save_excels(), sbf_save_gpkg(), 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. 1, 2024, 9:10 p.m.