powered by
Reads soil parameters from a single DSSAT soil parameter file (*.SOL)
read_sol( file_name, id_soil = NULL, left_justified = NULL, col_types = NULL, col_names = NULL )
a tibble containing the data from the raw DSSAT file
a character vector of length one that contains the name of a single DSSAT output file
a length-one character vector containing the soil ID code for a single soil profile
A character vector of column names that should be left justified
One of NULL, a cols() specification, or a string. See read_fwf or vignette("readr") for more details.
read_fwf
vignette("readr")
A character vector of column names; primarily helpful for cases where there are no white spaces between column names within the header line
# Extract file path for sample soil file sample_sol <- system.file('extdata','SAMPLE.SOL',package='DSSAT') sol <- read_sol(sample_sol)
Run the code above in your browser using DataLab