Save sf data frame to Geopackage

sbf_save_gpkg(
  x,
  x_name = substitute(x),
  sub = sbf_get_sub(),
  main = sbf_get_main()
)

Arguments

x

The sf data frame to save.

x_name

A string of the 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)

Value

An invisible string of the path to the saved geopackage

Details

This takes an sf data frame and saves as geopackage.

Examples

if (FALSE) { # \dontrun{
sbf_save_gpkg()
} # }