Reads CSVY, print YAML and fread file.
See also
Other helpers:
fex(),
obs_footname(),
obs_format(),
obs_freq(),
obs_list.dt(),
obs_out(),
obs_rbind(),
obs_roundtime(),
obs_trunc(),
obs_write_csvy(),
rtorf-deprecated,
sr()
Examples
if (FALSE) { # \dontrun{
# Do not run
df <- data.frame(a = rnorm(n = 10),
time = Sys.time() + 1:10)
f <- paste0(tempfile(), ".csvy")
notes <- c("notes",
"more notes")
obs_write_csvy(dt = df, notes = notes, out = f)
s <- obs_read_csvy(f)
s
# or
readLines(f)
data.table::fread(f)
} # }
