Reads a .sframe JSON file and reconstructs an sframe instrument object.
The SHA-256 integrity hash is verified on load unless validate = FALSE.
Arguments
- path
Character. The path to a
.sframefile.- validate
Logical. Whether to validate the loaded instrument with
validate_sframe(). Defaults toTRUE.
Examples
instr <- read_sframe(
system.file("extdata", "tourism_services_demo.sframe",
package = "surveyframe")
)
print(instr)
#> <sframe>
#> Title: Tourism Services Experience Demo
#> Version: 0.3.0
#> Items: 15
#> Scales: 5
#> Status: valid