adb_archive: Archive the data from an areal database

View source: R/adb_archive.R

adb_archiveR Documentation

Archive the data from an areal database

Description

Archive the data from an areal database

Usage

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.

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.

Value

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


arealDB documentation built on April 12, 2025, 1:42 a.m.