Description Usage Arguments Details Value
path_teams()
finds the path to the most recent investigation teams
schedule.
path_nights_weekends()
finds the path to the most recent nights/weekends
schedule.
1 2 3 4 5 6 7 8 9 | path_teams(
dir = "V:/Administration/Schedules/",
pattern = "(?i).*/[^/~]*Investigations?[ ]*Staff[ ]*Schedule.*xlsx?$"
)
path_nights_weekends(
dir = "V:/Administration/Schedules/",
pattern = "(?i).*/[^/~]*Nights?.*Weekends?[ ]*Staff.*xlsx?$"
)
|
dir |
The path to the directory of interest |
pattern |
The regular expression to use when filtering paths |
These functions returns the most recently created file; if multiple files are create within 1 second of each other, this will return a vector of paths to each of those files.
An fs_path
vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.