A major release. It adds multi-criteria decision analysis (10
methods), small-sample statistics, text and open-ended response analysis
(9 methods), and a disclosed-amendment and Git-linked provenance trail
for .sframe files, alongside 4 corrected results and 2
breaking changes. See below for full detail on each.
surveyframe’s decision-family extension links survey collection directly to 10 MCDA methods, closing the gap between MCDA computation packages, which assume a clean matrix already exists, and survey software, which has no concept of a decision method at all.
pairwise_comparison (Saaty’s 1-to-9 ratio scale
for AHP and ANP, or a 0-to-4 directed influence scale for DEMATEL) and
criteria_weight (a constant-sum allocation across
criteria).R/decision_data.R)
turns per-respondent answers into the matrices the methods consume:
sframe_assemble_pairwise() builds one matrix per respondent
and validates every pair was answered,
sframe_aggregate_judgements() combines them (geometric mean
for AHP/ANP, which preserves reciprocity, or arithmetic mean for
DEMATEL), and sframe_rated_matrix() builds a performance
matrix from ordinary matrix items. AHP judgements are additionally
screened for consistency against Saaty’s random-index table, with the CR
distribution reported whether or not a study has pre-declared a
filtering threshold.sensitivity_analysis() reports how far a ranking moves
under a declared perturbation of the weights, and carries a
degenerate flag so a ranking that never separated its
alternatives cannot report false stability (see “Decision analysis:
non-results now say so” below).A track of corrections for comparisons run on small samples, where the ordinary versions of these tests can flip significance on repeated draws from data whose true difference never changed.
logistf in
Suggests) for regression prone to separation at small n.assumption_report()
and sample_size_plan(), flagging when a study’s sample size
falls in the range where these corrections are worth considering.vignettes/small-sample.Rmd walks through when to prefer
each correction over its conventional counterpart.A 9-method text-analysis family for open-ended survey items, from term frequency through topic modelling, sharing the same analysis-plan, role-resolution, and reporting pipeline every other method family uses.
term_freq: top terms by frequency, optionally split by
a group variable, rendered as a bar chart or a word cloud.ngram_freq: top bigrams or trigrams by frequency.term_context: a keyword-in-context concordance table
(before/match/ after) for a chosen keyword.co_occurrence: pairwise within-response co-occurrence
counts on the top terms, rendered as a heatmap.co_occurrence_network: a Louvain-clustered (Blondel et
al. 2008), force-directed (Fruchterman & Reingold 1991) term
co-occurrence network; requires the optional igraph package.tidy_sentiment: positive/negative sentiment counts and
proportion positive using the bing lexicon, optionally split by a group
variable, rendered as a diverging bar chart or a positive/negative
comparison word cloud; requires the optional tidytext package.quanteda_dfm: a document-feature matrix summary
(feature count, sparsity, top features); requires the optional quanteda
package.topic_model_lda: Latent Dirichlet Allocation topic
modelling, top terms per topic as a ranked table and a faceted bar
chart; requires the optional tidytext and topicmodels packages.stm_topics: structural topic modelling, the same
top-terms-per-topic output; requires the optional stm and tidytext
packages.clean_text_responses()) and a
174-word Snowball-based English stopword list, both exported so a study
can reuse or override them outside a runner.k)
options that steer their plots and models.vignettes/text-analysis.Rmd walks through cleaning,
each method, and what the family deliberately does not attempt
(stemming/lemmatisation, tf-idf, and keyness comparison are not yet
implemented).write_sframe()’s SHA-256 hash proves a
.sframe file is unchanged since it was written, but gives
no way to distinguish a legitimate revision (a data-entry correction,
bot-response removal, a documented model respecification) from an
undisclosed edit – both break the hash identically. This release adds a
disclosed-revision path alongside the existing hash check, without
weakening it.
amend_sframe() compares an instrument before and after
a change and appends a structured, timestamped entry to an ordered
amendment log – never overwrites – recording the reason (a controlled
vocabulary: data_correction, bot_removal,
model_respecification, instrument_revision,
other), a free-text explanation, and which top-level fields
changed."pipeline" amendments (data corrections, bot removal) need
only a reason. "design" amendments (anything touching the
analysis plan or a model) require a deviation_report
describing what changed in the research question, method, or model and
why, matching how a formal preregistration deviation is normally
handled. signoff is never left blank – it records a
reviewer’s name or the literal "none", so an unreviewed
design change stays visible to an auditor.amendment_log() returns the full history as a data
frame, one row per disclosed amendment, exportable with
write.csv()..sframe file, bypassing
amend_sframe(), still fails read_sframe()’s
integrity check exactly as before. The amendment log adds a disclosed
path alongside the existing hash check.link_git_commit() records the current Git commit SHA
and subject line alongside an instrument. This ties the SHA-256 hash to
a specific, already-explained commit. It returns an informative message
when Git isn’t installed or the path isn’t a repository. Git is
optional.inst/schema/sframe_schema.json documents the
.sframe format (every top-level field, including the new
amendments log) as a standalone JSON Schema, so a reviewer
or a second tool can read and validate a .sframe file
without installing the package. .sframe was already plain,
git-diffable JSON before this release; the schema makes that format
explicit and independently checkable.vignettes/surveyframe.Rmd gains a “What the SHA-256
hash proves, and what it does not” section, stating plainly that the
hash proves file identity, not methodological validity, and pointing to
the design-time analysis_plan binding and
run_analysis_plan()’s single-pass execution as the
package’s separate, complementary defence against HARKing and
p-hacking.Four defects found by independent cross-validation are fixed. Each produced normal-looking numbers with no error or warning, so re-run any results computed with an earlier version.
item_report() returned the wrong item-rest correlation.
It subtracted each item from a rowMeans() total, which
leaves roughly noise carrying the item negatively, so a highly reliable
scale reported strong negative values. On simulated data with alpha
0.947 every item came back at about -0.46. The statistic is now the item
against the sum of the other items in its scale, and matches
psych::alpha()’s item.stats$r.drop to
1e-10.aov() treated it as a continuous covariate. On a
fixture where jmv::anovaRM() gives F(2, 78) = 86.93,
surveyframe reported F = 1.45, p = 0.24. Correcting the identifier alone
was not sufficient: the corrected design produces no
Error: Within stratum, so the effect is now located by
searching the strata directly.validate_sframe() rejected valid instruments. Its
known-variable list held only base item and scale ids, so an analysis
plan naming an expansion column (item__sub,
item__option, item__a__vs__b,
item__crit) failed validation for variables that do exist,
including real exports from the visual builder.
read_responses() already accepted those columns. Both now
derive the list from one shared helper.seminr_syntax(), sem_lavaan_syntax(), and
cfa_lavaan_syntax() never checked model$type,
and the builder offered every saved model to all 3 generators, so a
covariance-based model produced PLS-SEM syntax with no complaint. That
is a runnable script estimating a model the researcher never declared.
All 3 now refuse a mismatched estimation family, and the builder filters
each model role to the types its generator can produce.validate_sframe() and validate_model() return
a diagnosticBoth validators previously returned two different things depending on
strict: the object itself, invisibly, when
strict = TRUE, and a bare unclassed list when
strict = FALSE. Neither was a diagnostic, the success path
printed nothing at all, and the strict = FALSE return had
no methods. Both now return an sframe_validation object,
and they return it visibly, so validate_sframe(instrument)
typed at the console shows the user what it found.
valid, every problems
message, and a checks table listing all 18 instrument
checks (10 for a model) whether or not each found anything. A diagnostic
that lists only failures cannot tell a user that a check passed from one
that was never reached.print(), summary() for the
check roster, as.data.frame() for one row per problem,
sf_is_valid(), and sf_problems().strict = TRUE still aborts with
sframe_validation_error when anything is wrong. That has
not changed.$valid and $problems keep
working, so the common reading pattern needs no migration.strict = TRUE return as an instrument, as in
instrument <- validate_sframe(instrument). Wrap it in
as_sframe(). Passing a validation result where an
instrument is expected now raises a directed error naming
as_sframe() immediately.Raised by a Journal of Statistical Software editor reviewing the code: “we would at least expect that the object is not silently returned and that the print method is adapted to allow the user to read directly the diagnostic”.
The same review found that the classes carried print,
summary and format only, so user code had no
route to their contents except $ on the underlying list,
which makes the internal layout part of the public contract. Two facts
made that concrete: as.data.frame() failed on all 14 result
classes with “cannot coerce class … to a data.frame”, and [
dropped the class on the list-backed reports, so
results[1:2] silently degraded to a bare list and lost its
print method.
as.data.frame() now works on the instrument and on
every report class, returning that object’s primary table.[ keeps the class on
sframe_analysis_results,
sframe_reliability_report and
sframe_item_report.sf_meta(),
sf_items(), sf_scales(),
sf_choice_sets(), sf_branches(),
sf_checks(), sf_models() and
sf_plan(), with sf_plan<- for declaring the
plan. The component accessors return an sf_component_list
named by ID, so sf_items(instrument)[["sat_1"]] reaches one
item.sf_id() and
sf_label().sf_apa() and
sf_flagged().as_sframe().The vignettes and the examples are rewritten to use these accessors. The registered S3 method count goes from 41 to 103.
render_survey() pipe-joined a matrix item’s cells into
a single column, so a matrix question answered in the Shiny survey
arrived as mx = "4|5" where read_responses()
and the whole analysis layer expect mx__r1 and
mx__r2. Data collected that way could not be read back by
the package at all, and nothing said so at collection time. Ranking and
multiple-choice items had the same shape problem.render_survey() will see its matrix, ranking, and
multi-select columns change name and layout between versions. Responses
already gathered under the old shape need re-shaping before they can be
read, and the decision item types are unaffected because they emitted
the correct columns from the start."matrix" level, and neither surface gave matrix items one:
the studio classified them as "identifier" and the builder
grouped them under "expanded", which no role accepts. The
effect was that the rated-matrix path, where respondents rate every
alternative on every criterion, could only be built by writing R
directly, even though it is one of the 3 declared ways to supply a
decision matrix. Matrix items now carry their own "matrix"
level in both surfaces.sensitivity_analysis() gains a degenerate
flag for the same reason. A ranking that never separated the
alternatives cannot be changed by perturbing a weight, so every check
passed and stable came back TRUE: the
strongest robustness signal the function can give, produced by the
weakest result it can be handed. print() now leads with “No
result to test” instead of “Stable” in that case.quality_report() counted only columns matching a bare
item id, and multi-column items never post under those, so every
expansion column was invisible to the missingness check. A respondent
who skipped an entire pairwise battery was reported at 0 percent
missing. Expansion columns now count as item data, which brings matrix,
ranking, multi-select, and the 2 decision item types into the
missingness figures for the first time. Reported missingness
rates will change for any instrument using those item types,
because columns that were silently excluded are now counted.
Straight-lining and timing are unaffected: straight-lining runs over
declared scales, and timing is measured on the clock.cb_sem model, so sframe_demo_data() generated
PLS-SEM syntax from a covariance-based model, and every vignette and
example loading it inherited the same mismatch. Each demo now carries a
real pls_sem model with composite constructs. The
instrument hashes changed with it.sframe_decision_options() documents PROMETHEE’s
preference functions and records why the default is
"usual", Brans and Vincke’s type I step function, chosen
over the linear function several other implementations default to. Net
flows differ between the 2 functions, and the ranking changed in 226 of
400 randomly drawn 4-alternative by 3-criterion matrices.This release completes the plotting, interface, statistics, and reporting work started in 0.3.3. Every analysis family now has a chart, every effect size ships with a confidence interval, reports accept written interpretations and print to PDF, both dashboards gain quality and correlation panels, date questions gain bounds, and the builder and vignettes pass a WCAG 2.2 AA accessibility audit. Hard dependencies are unchanged. naniar and pagedown join Suggests.
bootstrap_ci()
(percentile bootstrap for any statistic), cohens_d_ci(),
cramers_v_ci(), and eta_sq_ci().d_ci on the t-tests,
r_ci on Mann-Whitney and Wilcoxon, eta_ci on
ANOVA and Kruskal-Wallis, ci on the correlations (analytic
Fisher z for Pearson, bootstrap for the rank methods), and
v_ci on chi-square and cross-tabulation.d = 0.62 [0.18, 1.05]. Data too small for an interval keeps
the previous string.validity_report() computes the Henseler
heterotrait-monotrait ratio when item-level data is supplied through the
new items_by_construct argument. Without it, the previous
correlation-based fallback applies and the htmt_method
element records which was used.missing_data_report() runs Little’s MCAR test when
naniar is installed. Without naniar the result is unchanged.reliability_report() records why omega is unavailable
for a scale in an omega_note, and the reliability chart
names those scales in its subtitle.efa_solution() adds three tidy data frames ready for
plotting and reporting: loadings_long,
communalities_table, and variance_table.render_report(format = "pdf") prints the HTML report to
PDF through pagedown, which requires a local Chrome or Chromium. HTML
output is unchanged and remains the default.interpretations argument on
render_report() and render_results(). Pass a
named list keyed by analysis-plan block id to add a written
interpretation to each research question after the results are known.
The report shows it beside the pre-declared decision rule, so the
prospective plan stays visible next to the post-hoc narrative.
Interpretations are report content only and are never written into the
instrument file.run_analysis_plan(plots = TRUE) now attaches a chart to
every supported family: regression diagnostics (4 panels), EFA scree and
loadings heatmap, reliability bars, mosaic and crosstab, correlation
heatmap, quality flag rates, group-comparison boxplots, paired slope
charts, raw-variable distributions, repeated-measures profiles, a
partial-correlation residual scatter, logistic-regression odds-ratio
forest plots, a moderation interaction plot, and a mediation effect
chart. Every analysis-plan block now returns a table, a chart, or
generated syntax.plot() methods for descriptives, EFA, quality,
reliability, validity, missing-data, and analysis-results objects.
plot(results) draws every attached chart, and
plot(results, which = "rq_id") returns one.plot_palette argument on
run_analysis_plan() and render_report():
"web" for brand colour on screen, "print" for
black and white suitable for print and journal submission. SurveyStudio
exposes the choice as a Chart theme option on the Export screen.date_min and
date_max bounds in sf_item(), the
SurveyBuilder, and the exported survey. The date picker enforces the
bounds and typed dates outside them show a clear message.read_responses() produces.sf_item()’s date_min and
date_max accept only "YYYY-MM-DD" or a
Date object now (an ambiguous string such as
"01/02/2024" used to parse silently into a specific date
depending on locale). Anything else raises a validation error.bootstrap_ci(), cohens_d_ci(),
cramers_v_ci(), and eta_sq_ci() no longer
alter the random-number seed for code that runs after a reproducible,
seeded call.This release adds an opt-in plotting layer, fixes bugs surfaced by the package’s first field deployment, and redesigns the survey-taking experience. ggplot2 joins Suggests; hard dependencies are unchanged.
plots argument on run_analysis_plan()
(default FALSE). When TRUE, supported analysis
blocks return a ggplot object in $plot: bar charts for
frequency and chi-square blocks, and scatter plots with a regression
overlay for correlation and regression blocks.theme_surveyframe(), a
publication-oriented ggplot2 theme with an accessible fixed-order series
palette. All plots use it.$table data frame ready
for knitr::kable(); the HTML report shows these tables
automatically.item__option = 1 for the top choice), so ranks are
directly analysable. Multiple-choice items likewise export one 0/1
column per option instead of a single comma-joined column.
read_responses() accepts the expanded columns for ranking,
matrix, and multiple-choice items without warnings.render_report() now attaches each analysis block’s
chart directly under its result table, in both the Quarto and internal
HTML report paths, instead of tables and plots appearing in separate
places.read_sheet_responses() gains a meta_cols
argument for extra sheet columns a host application appends, and
SurveyStudio’s dashboard now computes completion times from imported
sheet responses.sem_lavaan_syntax() turns free-text path labels into
valid lavaan parameter names (a label starting “H1:” becomes the
parameter H1).seminr_syntax() output loads seminr and uses
summary() accessors, so the generated code runs as
pasted.run_analysis_plan() accepts pls_sem as an
alias for seminr_syntax..sframe verifies and reports its SHA-256
integrity status.This release corrects the package citation, completes the S3 method surface for the component classes, and improves the graphical tools and the HTML report. It adds no new exported functions, no new statistical methods, and no new bundled datasets.
inst/CITATION now reports the correct package title and
reads the version dynamically from the package metadata, so the citation
no longer pins an old version or an outdated title.print(), format(), and
summary() methods for the component classes
sf_choices, sf_item, sf_scale,
sf_branch, sf_check, and
sf_model, so each class now has a visible, documented S3
surface.lavaan is declared in Suggests. It is used
only to fit the syntax produced by cfa_syntax(). The
package itself generates syntax and never requires lavaan
to be installed.export_static_survey() and
export_google_sheet().render_report() renders reliably through Quarto when it
is installed. A path defect that made the Quarto render fail and fall
back to the plain internal output is fixed.This is a patch release. It fixes the static-survey to Google Sheets to R collection loop, repairs a serialisation defect, and improves the first-time user experience. There are no new exported functions, no new statistical methods, and no new bundled datasets.
export_static_survey() now renders the header logo and
institution name from render$header, so exported surveys
match the Shiny renderer and the builder preview.export_static_survey() now falls back to the
instrument’s render$google_sheets_endpoint when
endpoint_url is not supplied, so a Google Sheets endpoint
set in the builder is honoured on export.respondent_id, matching the Google Apps Script
collector and read_responses(). The collection round-trip
now preserves the identifier.export_google_sheet() now includes matrix sub-item
columns (item_id__sub) in the Apps Script header row, so
matrix answers are stored in the Sheet.read_sheet_responses() now declares
started_at as a meta column and no longer raises a warning
on every read.image/png, image/jpeg,
image/gif), so JPEG and GIF logos display correctly in the
builder, the Shiny renderer, and the static export.write_sframe() now strips list-level names from the
item, choice, scale, branching, check, and model collections before
serialisation. Instruments built with Map() or other
helpers that attach element names (for example, using item IDs as names)
previously serialised those collections as keyed JSON objects, producing
a hash mismatch and an integrity error on read_sframe().
Saved instruments now round-trip correctly regardless of how the
component lists were constructed.sframe object. The message points the user to
sf_instrument() and read_sframe() instead of
showing a raw inherits() assertion failure.reliability_report() no longer prints
psych internal warnings to the console. McDonald’s omega is
skipped silently for scales with fewer than three items, where the
statistic is not meaningful.run_analysis_plan() when no
analysis plan is present now describes both the programmatic route
(instrument$analysis_plan) and the visual SurveyBuilder
route.surveyframe.Rmd) as an
end-to-end worked example: design the questionnaire, export it as a
hosted survey with a Google Sheets backend, collect responses, score
them, run the analysis plan, and render a report. The results section
uses simulated responses so the vignette builds offline; a single
read_sheet_responses() call connects the same workflow to
live responses. The questionnaire and concept are adopted from
Sharafuddin, Madhavan, and Wangtueai (2024, Administrative
Sciences, 14(11), 273, doi:10.3390/admsci14110273), with generic destination
wording so the example transfers to any tourism services context.sf_instrument() examples now include a complete
analysis_plan block.install.packages("surveyframe"), adds a short path for
users who already have a response CSV, and points to
browseVignettes("surveyframe").The first CRAN release of the full workflow: a typed instrument object carrying the questions, the analysis plan, and the measurement model, with deployment, collection, analysis, and reporting built around it.
variables/test analysis blocks. New plans can
store family, method, roles,
options, hypotheses,
decision_rule, reporting_references,
status, and requires_data.descriptives_report(), missing_data_report(),
assumption_report(), posthoc_report(),
validity_report(), and
sample_size_plan().run_analysis_plan() to dispatch the v0.3
method registry, including descriptives, missing data, sparse-table
tests, related-sample tests, Kendall and partial correlations, two-way
ANOVA, ANCOVA, repeated ANOVA, ordinal and multinomial logistic
regression, mediation, moderation, and model-syntax output.sf_construct(),
sf_path(), sf_covariance(),
sf_indirect(), sf_model(),
validate_model(), model_json(),
add_model(), efa_solution(),
efa_syntax(), cfa_lavaan_syntax(),
sem_lavaan_syntax(), seminr_syntax(), and
model_report_template(). Syntax generation does not require
lavaan or seminr.cfa_syntax() remains available as a backward-compatible
wrapper around cfa_lavaan_syntax().Added export_static_survey(). This produces a
single, self-contained HTML file that runs the survey in any modern
browser without a Shiny server or an internet connection. All thirteen
item types are fully rendered (Likert, single choice, multiple choice,
matrix, numeric, text, long text, date, slider, rating, ranking, section
break, text block). Branching logic, required-field validation, a
progress bar, welcome and thank-you pages are all handled in client-side
JavaScript. On submission the browser downloads a per-respondent CSV
file. An optional endpoint_url argument adds a parallel
JSON POST to any serverless endpoint (Google Apps Script, Netlify
function, etc.).
The exported file is suitable for hosting on GitHub Pages, Netlify, or any static file server, and can also be shared directly as an e-mail attachment and opened from disk.
The SHA-256 hash written into .sframe files by
write_sframe() and by the SurveyBuilder HTML is computed
using the same canonicalisation algorithm, so instruments round-trip
correctly between the browser and R.
Added launch_dashboard(). Opens a five-panel Shiny
dashboard for exploring collected response data alongside the instrument
definition, without modifying either. The panels are: Overview (response
count, date range, instrument metadata), Items (per-item bar charts,
histograms, and frequency tables), Scales (scale score distributions
with mean overlay), Quality (attention-check pass rates), and Raw data
(a scrollable response table with CSV download).
When called without arguments the dashboard loads the bundled tourism
services demo. When called with a user-supplied instrument and no
responses argument, it opens in metadata-only mode showing
instrument structure.
Added sframe_demo_data(),
sframe_input_types_demo_data(),
launch_builder_demo(), launch_studio_demo(),
and launch_dashboard_demo() for CRAN-safe examples,
training, and local GUI testing.
Added a bundled input-types demo instrument and simulated response dataset for testing SurveyBuilder, SurveyStudio, the dashboard, and all supported item controls.
launch_studio() now accepts preloaded instruments,
response data frames, CSV response paths, initial screen selection,
host, port, and browser control. SurveyStudio reads these preloaded
values during startup.
Added survey_module_ui() and
survey_module_server(). These allow a survey to be embedded
inside a larger Shiny application as a first-class module.
survey_module_server() returns a reactive that
holds NULL until the form is submitted, then returns the
response as a named list keyed by item ID.
ui <- fluidPage(survey_module_ui("s1"))
server <- function(input, output, session) {
resp <- survey_module_server("s1", instrument = instr)
observeEvent(resp(), { saveRDS(resp(), "response.rds") })
}An optional on_submit callback fires immediately on
submission, before any observeEvent() elsewhere in the
app.
run_analysis_plan() now implements four additional tests
used by the SurveyBuilder’s test dropdown:
anova_one: One-way ANOVA with eta-squared effect size.
When the result is significant and there are more than two groups, Tukey
HSD post-hoc output is included in the result object.t_test_pair: Paired-samples t-test with Cohen’s
d_z.wilcoxon_pair: Wilcoxon signed-rank test with r effect
size.regression_logistic_binary: Binary logistic regression
with McFadden R-squared and an overall model chi-square test. The full
coefficient table is returned for interpretation.All four runners produce an APA-formatted summary string and an
interpretation prompt field to guide write-up.
write_sframe() validates the instrument and writes
the validated object, preserving meta$validated = TRUE in
the saved .sframe file.
.sframe serialisation now includes a
models field and continues to read older
.sframe files where models is absent.
read_responses() no longer requires display-only
items such as section_break and text_block to
appear as response columns.
validate_sframe() now checks model references,
analysis-plan roles, invalid model IDs, duplicate model IDs, and model
indicator/path integrity.
launch_builder(open = TRUE) opens the SurveyBuilder
HTML in the system’s default browser via
utils::browseURL().
R/studio_builder.R contains three fully implemented
internal functions (sframe_builder_empty_state,
sframe_builder_state_from_instrument,
sframe_builder_validate_draft) used by SurveyStudio startup
and draft validation.
SHA-256 hashing in the SurveyBuilder HTML includes a
pure-JavaScript fallback for environments where
crypto.subtle is unavailable on file://
origins, including common Firefox file:// configurations.
Saving a .sframe file from the builder now always
succeeds.
The SurveyBuilder’s rqSuggest box now appears with
an icon and a plain-language recommendation when two or more variables
are selected in the RQ modal.
The undo and redo buttons in the SurveyBuilder topbar are now correctly disabled when their respective history stacks are empty.
export_google_sheet() now writes Google Apps Script
using JSON-encoded JavaScript literals instead of interpolating
instrument metadata directly into executable code. The generated
endpoint also rejects missing, over-large, and non-object JSON POST
bodies..sframe and .csv files by extension, size, and
text-content checks before passing them to import functions.read_sframe() now validates the top-level
.sframe payload structure before hash verification and
object reconstruction.on.exit() even when rendering fails.validate_sframe(), score_scales(),
codebook_report(), cfa_syntax(), and
launch_builder(open = FALSE) have fully runnable
examples.launch_builder_demo(),
launch_studio_demo(), and
launch_dashboard_demo()) open in the browser with the demo
instrument, scales, and analysis plan preloaded, so no manual file
loading is needed.demo("survey")) walks
through the whole workflow with step-by-step prompts.sf_instrument(),
sf_item(), sf_choices(),
sf_scale().write_sframe(),
read_sframe() with SHA-256 integrity checking.render_survey().launch_builder().read_responses().