Import a dataset from a CSV or a XLSX file. It ensures that the right type of column is guessed using the max value of guess_max
Usage
import_csv(path, delim = ",", uuid = NULL, ...)
import_xlsx(path, sheet = 1, uuid = NULL, ...)
import_full_xlsx(path = NULL, uuid = NULL)
Arguments
- path
The project relative path to the csv file
- delim
Field separator, default is ","
- uuid
Character string. Should we rename "submission_uuid" to "uuid"
- ...
Parameters to pass to readxl::read_xlsx or readr::read_delim
- sheet
A character string of the sheet name or the sheet position
Value
A clean-names-and-types tibble
Functions
import_csv()
: Import a .csv file
import_xlsx()
: Import one sheet from a .xlsx
import_full_xlsx()
: Import all sheets from a .xlsx