Description Usage Arguments Examples
ODF (Ocean Data) files are whitespace-delimited files whose column names and are specified in a loosely formatted header.
1 2 3 4 5 6 7 | read_odf(file, skip_data = 0, n_max = Inf)
read_odf_colmeta(file, header = read_odf_header(file))
read_odf_header(file, header_lines = read_odf_header_lines(file))
read_odf_header_lines(file, n_header = 1000)
|
file |
A file, URL, or connection. Files ending in .gz, .bz2, .xz, or
.zip will be automatically uncompressed; URLs will be automatically
downloaded. See |
skip_data |
Number of non-header rows to skip. |
n_max |
Maximum number of rows to read. |
header |
A previously read value obtained from |
header_lines |
A previously read value obtained from
|
n_header |
The starting guess for number of header lines. |
1 2 3 4 | odf_file <- bs_example("odf/CTD_98911_10P_11_DN.ODF")
read_odf(odf_file)
read_odf_colmeta(odf_file)
str(read_odf_header(odf_file))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.