create_new_data {PreProcessRecordLinkage}R Documentation

Final Data Preprocessing

Description

First, after calling the two data sets, preliminary dat preprocessing is done using preproc function. Then, according to its output, the user decides which variables should not be renamed. Then this function performs complementary data preprocessing such as sorting the names of the variables, matching the gender variable with different formats, etc. and produces two new data frames.

Usage

create_new_data(d1, d2, chz = "NULL")

Arguments

d1

A data frame.

d2

A data frame.

chz

the number of the name of the variable that the user does not want to change based on the output of the preproc function.

Value

Two data frames.

Author(s)

Hossein Hassani and and Leila Marvian Mashhad.

See Also

preproc

Examples

  d1 = RLdata500
  d2 = RLdata10000
  create_new_data(d1, d2)

[Package PreProcessRecordLinkage version 1.0.1 Index]