This might be more internal; we can wrap this with friendly functions rather than having users write a regex.
1 | extract_metadata(paths, regex, cols, validate)
|
paths |
character vector of filenames. |
regex |
a rege that matches files. |
cols |
colunn names for groups captured in |
validate |
a named list of functions (names indicate cols) that validate metadata (e.g. is an integer, is date, etc.). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.