write_df_to_binary: Write a binary TransCAD file from an R data frame.

Description Usage Arguments Details

View source: R/RcppExports.R

Description

This is a C++ implementation written by Amar Sarvepalli and adapted for Rcpp by Greg Macfarlane.

Usage

1
write_df_to_binary(df, file, field_types)

Arguments

df

List of variables (or a data.frame) that need to be written out to TransCAD.

file

A character string giving the output file name and path.

field_types

A character vector giving the data types of each column.

Details

Currently this function only exports only 3 datatypes: Character, Integer and Double.


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