data frame. The metadata table to reset variable data type.
factor
a string or charactor vector, containing the column names of
metadata variables to be set as factor.
numeric
a string or charactor vector, containing the column names of
metadata variables to be set as numeric.
date
a string or charactor vector containing the column names of
metadata variables to be set as date.
Value
This function returns the same metadata with variables being reset
to desired data type. Warnings or errors may be raise if the format
of the original data cannot be recognized by R.