Skip to contents

Writes your current non-default ezrsurvey_options() and all registered orders (see register_order()) to a YAML profile, so they persist across sessions. Requires the suggested yaml package.

Usage

save_ezrsurvey_profile(
  path = NULL,
  include_options = TRUE,
  include_orders = TRUE
)

Arguments

path

Destination path. If NULL (default), the per-user config file is used.

include_options

Write changed options. Default TRUE.

include_orders

Write registered orders. Default TRUE.

Value

Invisibly the path written.

Examples

if (FALSE) { # \dontrun{
register_order("education", c("low", "mid", "high"), vars = "demo_edu")
ezrsurvey_options(pct_axis_max = 100)
save_ezrsurvey_profile()
} # }