read_har: Read a GEMPACK HAR file into R

View source: R/read_har.r

read_harR Documentation

Read a GEMPACK HAR file into R

Description

Reads in a GEMPACK HAR file and returns its representation a list. Currently can only process integer headers, real full headers and character headers

Usage

read_har(
  con,
  useCoefficientsAsNames = FALSE,
  toLowerCase = TRUE,
  headersToRead = NULL
)

Arguments

useCoefficientsAsNames

If a coefficient name is present in the header, use that instead of the four-letter header

toLowerCase

= TRUE Turn all strings to lower case

headersToRead

= NULL A vector of header names to read in

filename

Path to HAR file

Value

A list of headers


USDA-ERS/MTED-HARr documentation built on March 24, 2024, 5:19 p.m.