strr_compress: Function to compress daily STR tables into UPGo DB format

View source: R/strr_compress.R

strr_compressR Documentation

Function to compress daily STR tables into UPGo DB format

Description

strr_compress takes daily tables (either daily activity tables produced through strr_process_daily or daily host tables produced through strr_host) and compresses them into the UPGo database storage format.

Usage

strr_compress(data, quiet = FALSE)

Arguments

data

A daily table in either the processed UPGo daily format or the processed UPGo host format.

quiet

A logical scalar. Should the function execute quietly, or should it return status updates throughout the function (default)?

Details

A function for compressing daily activity tables. It takes either daily listing activity tables (class 'strr_daily') or daily host activity tables (class 'strr_host') and converts them into a more storage-efficient one-activity-block-per-row format.

The output can subsequently be restored to a non-compressed format using strr_expand.

Value

A compressed daily table, ready for upload to a remote database.


UPGo-McGill/strr documentation built on Feb. 24, 2024, 6:15 p.m.