read_csmar_data: Read CSMAR data

Description Usage Arguments Value See Also

View source: R/read_csmar_data.R

Description

read_csmar_data() reads a data file exported from CSMAR into R. A wrapper of read_csv and read_excel.

Usage

1
read_csmar_data(path, skip = 0, col_names = TRUE, col_types = NULL)

Arguments

path

Path to a raw data file.

skip

Integer. The number of lines of the data file to skip before beginning to read data. Usually 1 for 'Excel Format Create R Data' from CSMAR.

col_names

"Chinese" to use chinese column names from the external txt description file. Otherwise the same with read_csv and read_excel.

col_types

The same with read_csv and read_excel.

Value

A tibble.

See Also

read_csv and read_excel.


ylwpaopao/cnquant documentation built on Dec. 2, 2019, 10:39 p.m.