Learn R Programming

GISINTEGRATION (version 1.0)

preprocLinkageDBF: GIS Integration

Description

This function enables users to effectively preprocess GIS data before conducting complex spatial analyses. By automating complex processes like data cleaning, normalization, and format transformation, GeoLinkR ensures that data are prepared for precise and reliable analysis.

Usage

preprocLinkageDBF(d1,d2,chz="NULL",var="area",threshold=0.9)

Value

dbf file.

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.

var

The vector of the names of the blocked variables that the user chooses based on the output of the selVar function that gives the vector of the names of the common variables between the two data sets.

threshold

A numeric value between 0 and 1.

Author

Hossein Hassani and and Leila Marvian Mashhad and Sara Stewart and Steve Macfeelys.

Details

The results are stored in the .dbf file in the system default path.

See Also

selVar, chzInput

Examples

Run this code
  # \donttest{
  library(sf)
  nc1 <- system.file("shape/nc.shp", package="sf")
  nc2 <- system.file("shape/nc.shp", package="sf")

  nc1 <- st_read(nc1, stringsAsFactors = FALSE)
  nc2 <- st_read(nc2, stringsAsFactors = FALSE)

  d1 <- data.frame(nc1)
  d2 <- data.frame(nc2)

  preprocLinkageDBF(d1, d2, var='area')
  # }

Run the code above in your browser using DataLab