Archive the data from an areal database

adb_archive(pattern = NULL, variables = NULL, compress = FALSE, outPath = NULL)

Arguments

pattern

character(1)
a regular expression used to filter files to load.

variables

character(.)
columns, typically observed variables, to select.

compress

logical(1)
whether or not the database should be compressed into a tar.gz archive. Will delete the database folder in outPath.

outPath

character(1)
directory, where the archive should be stored.

Value

no return value, called for the side-effect of creating a database archive.

Details

This function prepares and packages the data into an archiveable form. This contains geopacakge files for geometries and csv files for all tables, such as inventory, matching and thematic data tables.