Learn R Programming

DSSAT (version 0.0.9)

read_pest: Reads input data from a single DSSAT pest file (*.PST)

Description

Reads input data from a single DSSAT pest file (*.PST)

Usage

read_pest(file_name, col_types = NULL, col_names = NULL)

Value

a tibble containing the data from the raw DSSAT file

Arguments

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 read_fwf or vignette("readr") for more details.

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