strategy_create_coding: Create a encoding dictionnary for each variable used in a...

View source: R/episode_fusion.R

strategy_create_codingR Documentation

Create a encoding dictionnary for each variable used in a strategy

Description

Lookup for each variable to get raw values (database encoded value) and data recoding available in survey (survey_definition). Performs some checks that values should be known and unique.

Usage

strategy_create_coding(data, survey = "weekly")

Arguments

data

list() describing values for each variable (name as key)

survey

survey name to use to compare variable definition (by default "weekly" survey)

Value

fusion_strategy_dict object each variables will have recoded (codes) and non encoded (raw) values


cturbelin/ifnBase documentation built on Nov. 5, 2023, 12:54 p.m.