Learn R Programming

RecordLinkage (version 0.4-7)

internals: Internal functions and methods

Description

These functions and methods are used internally and should usually not be called from outside the package.

Usage

begin(x, ...)
  nextPairs(x, n = 10000, ...)
  clear(x, ...)
  blockfldfun(blockfld, phoneticFld, phoneticFun, coln)
  getSQLStatement(data1, data2 = data1, con, type, blockFld, excludeFld,
    strcmpFld, strcmpFun, phoneticFld, phoneticFun)
  init_sqlite_extensions(db)
  .allows_extensions(db)
  .lib_path()
  getPatternCounts(x, n=10000, cutoff=1, withProgressBar = (sink.number()==0))
  getMatchCount(object)
  getNonMatchCount(object)
  getNACount(object)
  getColumnNames(object, withExcluded = FALSE)
  getThresholds(W, M, U, my, ny)
  countpattern(x, matching = FALSE)
  hasWeights(object)

Arguments

x, object
Depends on the function, usually a "RecLinkData", "RLBigData" or "RLResult". A matrix of binary observations for countp
n
Maximum number of comparison patterns to fetch.
blockfld
Blocking definition as in RLBigData*.
phoneticFld
Indices of attributes for which phonetic code should be used.
phoneticFun
Name of phonetic function as in RLBigData*.
data1, data2
Data frame with records.
type
"linkage" or "deduplication", the type of linkage.
excludeFld
Indices or names of fields to exclude from comparison.
strcmpFld
Indices of attributes for which string comparison should be used.
strcmpFun
Name of string comparison function as in RLBigData*.
con
A SQLite database connection.
coln
Column names of records.
db
Database connection.
cutoff
Threshold from which string comparison values are rounded to 1.
withProgressBar
Whether to display a progress bar.
withExcluded
Logical. Wether to output names of excluded columns
W,M,U
Linkage weights, m- and u-probabilites. See emWeights for details.
W,M,U
Error bounds. See emClassify for details.
...
Optional arguments.
matching
If TRUE an additional vector is returned which stores which row belongs to which pattern.

Details

[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]