create_labelled_data: Create a labeled data.frame for SPSS, Stata or SAS export

Description Usage Arguments Value Author(s) Examples

View source: R/create_labelled_data.R

Description

Create a labeled data.frame from plain data.frame and matching metadata

Usage

1

Arguments

data

a data.frame stripped from any attributes

metadata

a data.frame with matching meta in tidy format ie. each value of each variable on its own row

Value

data.frame

Author(s)

Markus Kainu <markuskainu@gmail.com>

Examples

1
2
3
4
 ## Not run: 
 create_labelled_data(data = stripped_spss_data, metadata = meta_spss)
 
## End(Not run)

muuankarski/tidymetadata documentation built on May 23, 2019, 10:53 a.m.