create_new_data {GISINTEGRATION}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 and Sara Stewart and Steve Macfeelys.

See Also

preproc

Examples

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

[Package GISINTEGRATION version 1.0 Index]