Read a file, the function chosen to read the file is dependent on the file path.
.rdsusesreadr::read_rds()..csvusereadr::read_csv()..parquetusesarrow::read_parquet().
Arguments
- path
The file path to be read
- col_select
A character vector of column names to keep, as in the "select" argument to
data.table::fread(), or a tidy selection specification of columns, as used indplyr::select().- ...
Addition arguments passed to the relevant function.
Value
the data a tibble