Description Usage Arguments Details Value Examples
Create a metadata file from your surveys.
1 | gesis_metadata_create(survey_list)
|
survey_list |
A list of data frames containing surveys, or a
single survey in a single data frame. The filename should be added
in the column |
The structure of the returned tibble:
The original file name.
The ID of the survey, if present.
Question Block
The original variable name in SPSS.
The normalized variable label.
Suggested variable name.
The original variable class after importing withread_spss
.
The original variable label in SPSS.
A list of the value labels.
A list of the value labels that are not marked as missing values.
A list of the value labels that refer to user-defined missing values.
An optional range of a continous missing range, if present in the vector.
Number of categories or unique levels, which may be different from the sum of missing and category labels.
Number of categories in the non-missing range.
Number of categories of the variable, should be the sum of the former two.
A list of the user-defined missing values.
A data frame with the original variable attributes and suggested conversions and changes.
1 2 3 4 5 6 7 8 9 10 11 | file1 <- system.file(
"examples", "ZA7576.rds", package = "eurobarometer")
file2 <- system.file(
"examples", "ZA5913.rds", package = "eurobarometer")
import_file_names <- c(file1,file2)
my_surveys <- read_surveys (
import_file_names, .f = 'read_rds' )
gesis_metadata_create(survey_list = my_surveys )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.