dic_haven: Create haven labels and value labels from dic

View source: R/haven.R

dic_havenR Documentation

Create haven labels and value labels from dic

Description

Create haven labels and value labels from dic

Usage

dic_haven(data, overwrite = TRUE)

Arguments

data

A data frame containing dic information

overwrite

Logical. If TRUE, overwrites existing haven labels.

Value

A data frame with haven labels and value labels

Examples

ex_itrf_copy <- haven_dic(ex_itrf, remove_haven_class = TRUE)
ex_itrf_copy <- dic_haven(ex_itrf)
identical(ex_itrf, ex_itrf_copy)

jazznbass/scaledic documentation built on July 19, 2023, 12:50 a.m.