| .data_spec_update | R Documentation |
Traverses a dot-notated key like "final.public.test" and updates or inserts the given spec in the corresponding YAML file (either embedded in settings.yml or in an external settings/data.yml file). Automatically handles nested paths and creates intermediate structures as needed.
.data_spec_update(path, spec)
path |
Dot notation key (e.g., "final.public.test") indicating where to place the spec in the configuration hierarchy |
spec |
A named list containing the data spec fields (path, type, delimiter, locked, encrypted, etc.) |
Invisibly returns NULL. Function is called for its side effect of updating the YAML configuration file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.