Description Usage Arguments Examples
Read and parse CMEP file. These functions are mostly just simple wrappers
around the more generic readr
functions. The main enhancement is that
they will parse an irregularly sized CMEP file and format the data as a
regular table (data frame). read_cmep_chunked
can be used to process
files that may be too large to fit in memory.
1 2 3 |
... |
passed to |
parse |
boolean; should the records be parsed? |
unnest |
boolean; should the data values be unnested? if FALSE (the default) then they are returned in a list column with nested tables |
1 2 3 4 5 | f <- system.file("extdata", "cmep.dat", package = "cmep", mustWork = TRUE)
read_cmep(f)
f <- system.file("extdata", "cmep.dat", package = "cmep", mustWork = TRUE)
cb_f <- function(x, pos) print(pos)
read_cmep_chunked(f, callback = cb_f, chunk_size = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.