A data frame like tibble ojbect is returned.
In case you are working with a list of surveys (waves), call
metadata_waves_create, which is a wrapper around
a list of metadata_create calls.
- filename
The original file name; if present; missing, if a non-survey data frame is used as input survey.
- id
The ID of the survey, if present; missing, if a non-survey data frame is used as input survey.
- var_name_orig
The original variable name in SPSS.
- class_orig
The original variable class after importing withread_spss.
- label_orig
The original variable label in SPSS.
- labels
A list of the value labels.
- valid_labels
A list of the value labels that are not marked as missing values.
- na_labels
A list of the value labels that refer to user-defined missing values.
- na_range
An optional range of a continuous missing range, if present in the vector.
- n_labels
Number of categories or unique levels, which may be different from the sum of missing and category labels.
- n_valid_labels
Number of categories in the non-missing range.
- n_na_labels
Number of categories of the variable, should be the sum of the former two.
- na_levels
A list of the user-defined missing values.