Get Tables from a geopackage object

gpkg_tables(x, collect = FALSE, pragma = FALSE)

# S3 method for class 'geopackage'
gpkg_tables(x, collect = FALSE, pragma = FALSE)

Arguments

x

A geopackage object

collect

Default: FALSE. Should tables be materialized as 'data.frame' objects in memory? (i.e. not "lazy") Default: FALSE; if TRUE 'dbplyr' is not required. Always TRUE for pragma=TRUE (pragma information are always "collected").

pragma

Default: FALSE. Use gpkg_table_pragma() instead of gpkg_table()? The former does not require 'dbplyr'.

Value

a list of SpatVectorProxy, SpatRaster, data.frame (lazy tbl?)