Description Usage Arguments Value
View source: R/make_priogrid.R
A dispatch function that applies the function specified in variable_config to the file in path. Subsequently, the result is put through several assertions, both a base set of assertions from base_assertions and possibly also custom assertions specified in the variable_config. Then, data is written to the output_folder in RDS format.
1 | dovar(path, output_folder, variable_config)
|
path |
A file path that is passed to the gen function |
variable_config |
A named list specifying fun and assert. Fun is the name of the function to apply to the input_folder, while assert (optional) is a character vector with assertions snippets to apply. |
Where |
to write the data. The function creates a folder with the same name as the variable folder. |
The function returns a character vector of messages with the results of assertions. The data is written to disk.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.