Description Usage Arguments Value Examples
Block a record linkage dataset by substrings of the variables in the dataset
1 2 |
RLdata |
a data frame containing the records to be matched |
var.names |
a vector of strings containing the variable names you want to block by |
n.chars |
a vector of integers corresponding to the number of the characters you want to compare in each variable of var.names |
unique.ids |
a vector containing the true unique identifiers of the records in RLdata. It should be of length nrow(RLdata) |
A list containing blocking information and the blocked data and ids
BlockInfo |
a list of blocking information: blocks, factors, reduction.ratio |
DataSplit |
a list of datasets corresponding to each block |
IdSplit |
a list of vectors containing the unique ids corresponding to each block |
1 2 3 | BlockBySubstr(iris, "Species") #identifies 2 blocks
BlockBySubstr(iris, "Species", 2) #identifies 3 blocks
BlockBySubstr(iris, c("Species", "Sepal.Length"), c(2,1)) #identifies 3 blocks
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.