read_dssbatch: Reads data from a single DSSAT batch file

View source: R/read_dssbatch.R

read_dssbatchR Documentation

Reads data from a single DSSAT batch file

Description

Reads data from a single DSSAT batch file

Usage

read_dssbatch(file_name = "DSSBatch.V47")

Arguments

file_name

a character vector of length one that contains the name of a single DSSAT batch file

Value

a tibble containing the data from the DSSAT batch file

Examples


# Create example batch file path
batch_file_path <- paste0(tempdir(),'/DSSBatch.V47')

# Write example batch file
write_dssbatch(x='UFGA0601.BMX',trtno=1:4,file_name = batch_file_path)

# Read example batch file
dssbatch <- read_dssbatch(batch_file_path)


DSSAT documentation built on Nov. 9, 2023, 1:08 a.m.