knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

tcadr

Build Status

This is a library of functions that can be used to read native TransCAD files directly into R without intermediate conversion to .csv or .dbf. Currently the package will read and write binary data tables (including network attributes), but I hope to extend the package to cover shape data and networks in the future.

Installation

The package is not (yet) on CRAN. The easiest way to install the latest stable version is with

devtools::install_github("pbsag/tcadr")

Using the devtools library may require you to install RTools and Rccp, among other things.

Use

library(tcadr)
dir("inst/extdata")
read_tcad("inst/extdata/TransitR.bin")

This package is under active development, and any contribution is welcome.



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