identify_mentioned: Identify mentioned and not mentioned types

Description Usage Value Examples

View source: R/identify_mentioned.R

Description

Identification for questions where the answers are coded as 'not_mentioned', and one other valid label, with, or without missing labels.

Usage

1

Value

An augmented metadata table with the identified mentioned-type variables

Examples

1
2
3
4
5
6
7
8
{
example_survey <- read_surveys(system.file(
        "examples", "ZA7576.rds", package = "eurobarometer"),
         .f='read_rds')
identified <- identify_mentioned (metadata_create ( example_survey [[1]] ))
identified <- identified[(!is.na(identified$group_mentioned)),]
identified[, c("var_name_orig", "labels", "group_mentioned")]
}

antaldaniel/eurobarometer documentation built on Aug. 31, 2020, 10:57 p.m.