Restore teal_slices object from a file
slices_restore.RdThis function takes a file path to a JSON file containing a teal_slices object
and restores it to its original form. The restored teal_slices object can be used
to access filter states and their corresponding attributes.
Arguments
- file
Path to file where
teal_slicesis stored. Must have a.jsonextension and read access.
Examples
if (interactive()) {
# Restore a teal_slices object from a file
tss_restored <- slices_restore("path/to/file.json")
}