read_tcad: Read a TransCAD binary file

Description Usage Arguments Details Examples

View source: R/read_tcad.R

Description

Read a TransCAD .bin binary data file into the workspace.

Usage

1
read_tcad(file, strip_whitespace = TRUE)

Arguments

file

The path and name of the binary data file, e.g. data/foo.bin. The DCB dictionary file should be in the same folder.

strip_whitespace

Should excess whitespace be stripped from character variables? default = TRUE

Details

If any variable descriptions are available in the dictionary file, then they will be appended to the attr(*, "label") attribute (and therefore visible in RStudio).

Examples

1
read_tcad(file.path(system.file("extdata", "TransitR.bin", package = "tcadr")))

pbsag/tcadr documentation built on May 24, 2019, 10:39 p.m.