Load a dataset from a CSV / TSV / Excel / Parquet / JSON file.
Source:R/dataset.R
morie_dataset_load.RdFile format is detected from the extension. Supported extensions:
.csv, .tsv, .xlsx / .xls, .parquet / .pq, .json /
.jsonl.
Arguments
- path
Character; file path.
- encoding
Character; encoding for text formats (default
"UTF-8").- ...
Forwarded to the underlying reader (
utils::read.csv,readxl::read_excel, etc.).