read_sole_csv: Read the sole csv file in the working directory

View source: R/read_sole_csv.R

read_sole_csvR Documentation

Read the sole csv file in the working directory

Description

Read the sole csv file in the working directory

Usage

read_sole_csv(head = FALSE, ...)

Arguments

head

logical. if head = TRUE, prints the first five rows of the data set.

...

optional arguments for the fread function from the data.table package. Any arguments for data.table's fread function can be used, e.g., fill = TRUE, nrows = 100

Value

the output will be a data.table object, that is, an output from the data.table function, fread

Examples


mydata <- read_sole_csv()
mydata <- read_sole_csv(head = TRUE)
mydata <- read_sole_csv(fill = TRUE, nrows = 5)


kim documentation built on Oct. 9, 2023, 5:08 p.m.