| read_file | R Documentation |
read_file reads delimited- and Excel-type data files. The backend for
delimited files is fread; the backend for Excel
files is read_excel.
read_file(
path,
file_type = c("auto", "delimited", "excel"),
type_convert = TRUE,
msg = "Reading file..."
)
path |
A string indicating the path to the data file; will be expanded if necessary |
file_type |
A string indicating the type of file to read; only "delimited" and "excel" files are supported. The default is "auto", which determines the file type from the file extension. |
type_convert |
Should Note: The default is |
msg |
A message to be displayed prior to beginning a file read; for use inside other functions |
A tibble containing the read data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.