util_data_type_conversion: Data type conversion

View source: R/util_data_type_conversion.R

util_data_type_conversionR Documentation

Data type conversion

Description

Utility function to convert a study variable to match the data type given in the metadata, if possible.

Usage

util_data_type_conversion(x, type)

Arguments

x

the value

type

expected data type

Value

the transformed values (if possible)


dataquieR documentation built on May 29, 2024, 7:18 a.m.