read_cr3000 | R Documentation |
Tool for reading output files created by Campbell Scientific CR3000 data
loggers and storing their contents in exdf
objects.
read_cr3000(
file_name,
rows_to_skip = 1,
variable_name_row = 2,
variable_unit_row = 3,
data_start_row = 5,
...
)
file_name |
A relative or absolute path to a |
rows_to_skip |
The number of rows to skip at the beginning of the file; the first row in a TDL file typically has fewer columns than the others, which causes problems when storing it as a table. |
variable_name_row |
The row number in the TDL file containing the names of the variables
( |
variable_unit_row |
The row number in the TDL file containing the units of the variables
( |
data_start_row |
The first row number of the table containing the measured data. |
... |
Additional arguments to be passed to |
An exdf
object that fully includes all the data from the CR3000 output
file. In addition to the elements described in the documentation for
read_gasex_file
, the following "extra" elements are also
included:
rows_to_skip
: A copy of the input argument with the same name
variable_name_row
: A copy of the input argument with the same
name.
variable_unit_row
: A copy of the input argument with the same
name.
data_start_row
: A copy of the input argument with the same
name.
read_gasex_file
# Example: reading a TDL file that is included with the PhotoGEA package.
tdl_file <- read_cr3000(
PhotoGEA_example_file_path('tdl_sampling_1.dat')
)
tdl_file$file_name # A record of where the data came from
str(tdl_file) # View the contents of the exdf object's main_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.