How to prove a questionnaire file is the one you planned
Source:vignettes/articles/guides/prove-a-questionnaire-file-is-the-one-you-planned.Rmd
prove-a-questionnaire-file-is-the-one-you-planned.RmdCheck that a questionnaire file matches the hash recorded when it was saved.
The example in this guide is Event feedback. A short feedback survey for a one-day professional event, run to describe who attended and to check the quality of the answers before the programme is planned again.
In SurveyStudio
- Open Verify a file in
your browser and drop the
.sframefile on it. The check runs in the browser and the file stays on your computer. - The page reports whether the content matches its recorded hash, and reads the disclosed-amendment log if the file has one.
- To identify a registered version, compare the hash with the one in the plan you preserved, such as on OSF.

The Design screen with the Event feedback study
open.
In R
d <- sframe_demo("verification")
read_sframe(d$instrument_path) # verifies the hash as it reads
tampered <- file.path(dirname(d$instrument_path), "verification_tampered.sframe")
try(read_sframe(tampered)) # a changed file reports the mismatch