archive_data: Batch process source data

Description Usage Arguments Value

View source: R/data.R

Description

This function identifies new source data files saved in getOption('zeitgebeR')$hue_storage_path and getOption('zeitgebeR')$darksky_storage_path. Each file is loaded and parsed, and the data are appended to an RDS file. It then moves the processed source files into a zip archive. Upon completion, the storage paths should contain only an RDS file and a zip archive.

Usage

1
archive_data(limit = 100)

Arguments

limit

sets a cap on the number of files to be processed at a time

Value

Returns TRUE (invisibly) upon successful completion


fascinatingfingers/zeitgebeR documentation built on Oct. 25, 2019, 4:50 p.m.