ezr.map_datatypes: Convert datatypes by lookup

Description Usage Arguments Value

Description

Convert datatypes in a dataframe by a lookup table.

Usage

1
ezr.map_datatypes(dataset, lookup_dataset)

Arguments

lookup_dataset

Should be a dataframe of two columns. Each row is a variable. datatype values are: character or char / as.factor or factor / numeric or number or float / date or as.date

target_dataset

The dataframe that contains your data

Value

Returns the dataframe with corrected datatypes.


jmp1989/easyr documentation built on May 20, 2019, 7:25 a.m.