Learn R Programming

DCC (version 1.2.1)

dcc_codebook_changes: The planned changes of a codebook preview

Description

Returns the table of changes a codebook preview would apply.

Usage

dcc_codebook_changes(x)

Value

A data.table of variable, op, and detail.

Arguments

x

A dcc_codebook_preview from dcc_apply_codebook.

Examples

Run this code
df <- data.frame(sid = "S1", age = -99)
prev <- dcc_apply_codebook(df, list(age = list(missing = -99)))
dcc_codebook_changes(prev)

Run the code above in your browser using DataLab