gpkg_write_attributes | R Documentation |
gpkg_write_attributes()
: Specify a target geopackage and name for new table. For adding attributes, specify the new data as data.frame. The table name will be registered in the gpkg_contents
table. Optionally include a custom description
and/or use a template
object to define the spatial extent associated with attribute data.
gpkg_remove_attributes()
: Remove an attribute table and corresponding gpkg_contents
record
gpkg_write_attributes(
x,
table,
table_name,
description = "",
template = NULL,
overwrite = FALSE,
append = FALSE
)
gpkg_remove_attributes(x, table_name)
x |
A |
table |
A |
table_name |
|
description |
Optional description. Default |
template |
A |
overwrite |
Overwrite? Default |
append |
Append? Default |
logical
. TRUE
on successful table write or remove.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.