Returns the SATA status for one or more variables in a survey design object or a data frame.
Arguments
- x
A survey design object or
data.frame.- ...
<
tidy-select> Variables to query. Supports selection helpers:tidyselect::starts_with(),tidyselect::all_of(),tidyselect::any_of(), etc. If empty, returns SATA status for all columns ofx.- format
character(1). Output format:"named_vector"(default),"list", or"data_frame".- fill
FALSE(default) orNULL. Controls how unmarked variables are reported.FALSEincludes them in the result with valueFALSE(dense view);NULLomits them (sparse view).TRUEand other values are rejected.
Value
"named_vector"(default): named logical vector. Empty:logical(0)."list": named list of logical scalars. Empty:list()."data_frame": tibble with columnsvariable(character) andsata(logical). Empty: zero-row tibble.
See also
set_sata() to set SATA flags
Other metadata:
classify_question_type(),
extract_metadata(),
extract_missing_codes(),
extract_question_preface(),
extract_universe(),
extract_val_labels(),
extract_var_label(),
extract_var_note(),
infer_question_prefaces(),
set_missing_codes(),
set_question_preface(),
set_sata(),
set_universe(),
set_val_labels(),
set_var_label(),
set_var_note(),
survey_metadata(),
survey_weighting_history()
