read_filet {DSSAT} | R Documentation |
Reads time series data from a single DSSAT file T
read_filet(file_name, col_types = NULL, col_names = NULL, na_strings = NULL)
file_name |
a character vector of length one that contains the name of a single DSSAT output file |
col_types |
One of NULL, a cols() specification, or a string.
See |
col_names |
A character vector of column names; primarily helpful for cases where there are no white spaces between column names within the header line |
na_strings |
a character vector of string to represent missing values |
a tibble containing the data from the raw DSSAT file
# Extract FileT path for sample file
sample_filet <- system.file('extdata','SAMPLE.CRT',package='DSSAT')
read_filet(sample_filet)