load_data | R Documentation |
load_data
is meant to find and load a delimited or Excel data file
given the directory that it's in, the date used in the file name, and the
file extension. It is essentially a wrapper around find_file
and read_file
.
load_data( date = NULL, directory, file_name = NULL, ext = c("csv", "xlsx"), pattern = paste0(".*", date, ".*", ext[[1]]) )
date |
The |
directory |
The directory to search in using |
file_name |
Optionally, the name of the file to load; this is useful if searching for non-standard files |
ext |
The extension of the file to load |
pattern |
A regular expression combining |
A tibble
containing the loaded data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.