View source: R/fct_write_tables.R
write_tables | R Documentation |
Write a (spatial - sf) data frame to layer in a GeoPackage.
write_tables(df, gpkg_dir, lyr)
df |
Data frame or spatial data frame (sf) to write to GeoPackage. |
gpkg_dir |
Data frame generated from |
lyr |
User selected layer - this is used for selecting the relevant layer from a GeoPackage with many tables. |
Designed to be used with Shiny apps where a GeoPackage is in a temporary directory within the app instance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.