View source: R/open-notes-files.R
find_notes | R Documentation |
Determines all notes files (html, Rmd) or data (csv) files at the given location.
find_notes( week, day, file_types = c("notes", "data", "rmd"), path, drop_dups = TRUE )
week |
Integer |
day |
Integer |
file_types |
Character; Any or all of 'notes', 'rmd', or 'data' |
path |
Character; Location of course repo |
drop_dups |
Logical; Remove duplicated dataset names |
If file_types
is 'notes'
, html note files are opened. If file_types
is 'rmd'
Rmarkdown notebooks are opened. If file_types
is 'data'
csv files are read and placed in the global environment. Data files are named according to their basename
List of character vector filepaths named 'notes', 'rmd' and 'data'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.