sgStreamToFile: Send a stream of raw data to a file

Description Usage Arguments Value Note Author(s)

View source: R/sgStreamToFile.R

Description

A stream of raw data consists of all records from raw files with the same monoBN (montonic boot number), ordered by increasing date. This function lets you write one or more streams, specified by monoBN, or all streams, to a file. Typically, this file is a fifo with a reader, such as the tag finder.

Usage

1
sgStreamToFile(src, f, mbn = NULL, append = FALSE)

Arguments

src

dplyr src_sqlite to receiver database

f

output filename

mbn

integer vector of monotonic boot numbers; this is the monoBN field from the files table in the receiver's sqlite database. Defaults to NULL, which means run all streams in order.

append

logical scalar; if TRUE, append data to existing file contents. Defaults to FALSE.

Value

invisible NULL

Note

any notes

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


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