knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
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.
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.
library(tcadr) dir("inst/extdata") read_tcad("inst/extdata/TransitR.bin")
This package is under active development, and any contribution is welcome.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.