View source: R/replace_from_template.R
replace_from_template | R Documentation |
replace values from a template file
replace_from_template( file, patterns, replacement_df, output_dir = NULL, file_name = NULL, ... )
file |
template file |
patterns |
patterns to match |
replacement_df |
dataframe of replacements |
output_dir |
set directory if not current directory |
file_name |
column in replacement containing requested output file name |
... |
additional arguments for readLines |
the pattern will first check for names, and if matching names in replacement df will follow, however if no names are detected, then will match by position
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.