View source: R/safe_read_yaml.R
safe_read_yaml | R Documentation |
Wrapper for read_yaml that simplifies all null and missing data to NA. Creates front-matter.yml if not found
safe_read_yaml(
yaml_path = NULL,
WD = NULL,
eval.expr = TRUE,
checkWD = TRUE,
auto_init = TRUE,
standardize_NA = FALSE
)
yaml_path |
full path to the front-matter.yml file (usually in format '/users/lotsaSubfolders/gp-lessons/front-matter.yml') |
WD |
Google Drive Working Directory. Can use "?" to pass to |
eval.expr |
boolean; do you want to evaluate expression in yaml prepended with '!expr '? Default=TRUE |
checkWD |
do you want to run |
auto_init |
logical; do you want to automatically create a front-matter.yml file if it's not found? Runs |
standardize_NA |
logical; do you want all "",NULL,list(), etc. to be read in as NA using |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.