Skip to contents

read_100 reads all CENTURY files with extension '*.100' save for site files, which also have a '.100' extension but have their own function to read them, called read_site.

Usage

read_100(pathname = pathname, filename = filename, remove_blanks = TRUE)

Arguments

pathname

character string with valid path to a folder.

filename

character string specifying the name of the file, which must include the extension '.100'.

remove_blanks

logical, if set to TRUE any blanks at the end of the file will be removed.

Value

A list with the contents of the file.

Examples

# Read one of the CENTURY example files included in the package.
pathname <- system.file("extdata/1.soil_texture_ppt",  package = "Rcentury")
x <- read_100(pathname, "harv.100")