read_filex {DSSAT}R Documentation

Reads input data from a single DSSAT experiment file (*.*X)

Description

Reads input data from a single DSSAT experiment file (*.*X)

Usage

read_filex(
  file_name,
  col_types = NULL,
  col_names = NULL,
  na_strings = NULL,
  store_v_fmt = FALSE,
  use_std_fmt = FALSE
)

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

na_strings

A character vector containing strings that should be interpreted as missing values

store_v_fmt

a logical value indicating whether or not to store the format for variables being read

use_std_fmt

logical value indicating whether to read FileX using the standard column formats. If FALSE, column formats will be inferred from tier headers

Value

a tibble containing the data from the raw DSSAT file


[Package DSSAT version 0.0.9 Index]