read_file | R Documentation |
Read a file and return a dataframe.
read_file(
filedir,
filename,
filetype = file_extension(filename),
stringsAsFactors = FALSE,
...
)
filedir |
file directory, with or without trailing slash |
filename |
file name |
filetype |
"csv", "xls", or "xlsx". Defaults to the extension of filename |
stringsAsFactors |
logical: should character vectors be converted to factors? |
... |
additional parameters to read_csv or read.xlsx2 |
a data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.