load.domain | R Documentation |
Load a domain from a domain object or from settings
load.domain(x, settings, .fun, .hook)
x |
A domain object with a valid name and filename |
settings |
Additional settings to pass to the loading function. |
.fun |
An optional mapping function to process the domain after loading for formatted text files. If missing the function will be constructed from the domain settings. |
.hook |
An optional function to process the loaded source after the pre-merge process (if applicable) and before calling .fun. If missing the function will be constructed from the domain settings. |
The domain source files are loaded and additional processing is run. First the main source is loaded. Then, if a pre-merge file is indicated, the pre-merge source is loaded and the pre-merge proceeds. After the premerge the hook function is run, which allows for arbitrary processing of the loaded data. Metadata (inMeta) is captured at this point. Then the mapping function (.fun) is run and final metadata are captured.
An S3 object of class domain
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.