sgMergeFiles: Merge a batch of raw SG files with their receiver...

Description Usage Arguments Details Value Author(s) See Also

View source: R/sgMergeFiles.R

Description

Determines which files are redundant, new, or partially new. Does *not* run the tag finder.

Usage

1
sgMergeFiles(files, j, dbdir = MOTUS_PATH$RECV)

Arguments

files

either a character vector of full paths to files, or the full path to a directory, which will be searched recursively for raw sensorgnome data files.

j

job, whose ID will be recorded with records of new / changed files.

dbdir

path to folder with existing receiver databases Default: MOTUS_PATH$RECV

Details

Any new content from files is merged into the files and fileContents tables of the receiver DBs.

Files are disposed of like so:

Value

a list with two items:

Returns NULL if no valid sensorgnome data files were found.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm

See Also

sgRunNewFiles, which calls this function and then calls sgFindTags as appropriate.


jbrzusto/motusServer documentation built on May 19, 2019, 8:19 a.m.