ReadCausataR: Parses an R file exported with Causata data.

Description Usage Arguments Details Value Author(s)

Description

Parses an R file exported with Causata data. The information in the R file can be used to filter or select variables.

Usage

1
ReadCausataR(rFile, countRows=FALSE)

Arguments

rFile

The R file to process, including path.

countRows

If TRUE the rows in the CSV file will be counted. This step can reduce memory requirements.

Details

This function parses the R code exported with Causata data. File names, column names, and column classes are extracted.

Value

A list is returned with elements as follows:

fileR

A filename of the R file, including the path.

fileData

A filename of the CSV data file, including the path.

colClasses

The classes of each column, e.g. numeric, factor, etc.

col.names

The column names of each column.

nrows

The number of rows in the CSV data. If countRows is FALSE then the value is set to -1.

Author(s)

Justin Hemann <support@causata.com>


Causata documentation built on May 2, 2019, 3:26 a.m.