read_prd_file: Read StanForD Classic prd-files (machine reports from forest...

View source: R/prd2tables.R

read_prd_fileR Documentation

Read StanForD Classic prd-files (machine reports from forest machines)

Description

Read StanForD Classic prd-files (machine reports from forest machines)

Usage

read_prd_file(filename)

Arguments

filename

The file name (including path) of the file the function should read

Value

should return a list of tables populated with data from the prd report: report_header, object_definition, species_definition, product_definitions, volume_summary, logs_summary

Examples

 files <- list.files(system.file("extdata", package = "stanfordclassicr"), full.names = TRUE)
 prdfiles <- files[stringr::str_detect(files, ".prd")]
 prddata <- read_prd_file(prdfiles[1])
 prddata <- read_prd_file(prdfiles[2])
 prddata <- read_prd_file(prdfiles[3])

helmerbelbo/stanfordclassicr documentation built on March 5, 2025, 10:24 a.m.