Skip to contents

read_site reads CENTURY site files, which have an extension '.100'

Usage

read_site(pathname = pathname, filename = filename)

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'.

Value

A list with the contents of the file.

Examples

# Try to read one of the site files provided with the package.
pathname <- system.file("extdata/1.soil_texture_ppt",  package = "Rcentury")
filename <- "clay.100"
x <- read_site(pathname, filename)