Description Usage Arguments Note Examples
View source: R/monitor_writeCSV.R
Prints out the contents of the ws_monitor
object as CSV.
By default, the output is a text string with "human readable" CSV that
includes both meta
and data
. When saved as a file, this format
is useful for point-and-click spreadsheet users who want to have everything
on a single sheet.
To obtain machine parseable CSV strings you can use metaOnly
or
dataOnly
which are mutually exclusive but which return CSV strings
that can be automatically ingested.
By default, the CSV formatted text is returned invisibly but not saved to a
file unless saveFile
is specified.
1 2 3 4 5 6 7 | monitor_writeCSV(
ws_monitor,
saveFile = NULL,
metaOnly = FALSE,
dataOnly = FALSE,
quietly = TRUE
)
|
ws_monitor |
ws_monitor object |
saveFile |
optional filename where CSV will be written |
metaOnly |
flag specifying whether to return |
dataOnly |
flag specifying whether to return |
quietly |
do not print to console, just return the string representation of the CSV |
This function wraps the monitor_print function but defaults
to quietly = FALSE
.
1 2 3 4 5 6 7 8 | library(PWFSLSmoke)
data("Carmel_Valley")
Carmel_Valley <- monitor_subset(Carmel_Valley, tlim = c(20160802,20160803))
monitor_print(Carmel_Valley)
monitor_print(Carmel_Valley, metaOnly = TRUE)
monitor_print(Carmel_Valley, dataOnly = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.