| load_external_postp | R Documentation |
Loads post-processing functions and their configuration from an external
folder named postp, located in the root directory of the database.
The folder must contain two files: structure.json (which defines the
post-processing configuration) and functions.R (which contains the R
function definitions to be used for post-processing). The function checks
for these files and loads the JSON configuration and sources the R script.
If the required files are missing, it stops execution and notifies the user
with instructions on how to set up the files correctly.
load_external_postp(path)
path |
[mandatory] (character) The path to the root directory where the database is located. |
Returns a list of post-processing functions loaded from the
structure.json file. The functions defined in functions.R are
sourced and made available in the returned environment.
The postp folder must contain two files: structure.json
and functions.R. The structure.json file contains mappings of
variables to the post-processing functions, while functions.R
contains the actual function definitions that will be used for
post-processing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.