CreateDoubleBalancedBF | R Documentation |
Double balanced Bloom Filter are created by first creating balanced Bloom Filters, see CreateBalancedBF
, negating the whole data set and shuffling each Bloom Filter.
CreateDoubleBalancedBF(ID, data, password)
ID |
A character vector containing the ID. The ID vector must have the same size as the number of rows of data. |
data |
CLKs as created by |
password |
A string to encode the routines. |
A data.frame containing IDs and the corresponding double balanced bit vector.
Schnell, R. (2017): Recent Developments in Bloom Filter-based Methods for Privacy-preserving Record Linkage. Curtin Institute for Computation, Curtin University, Perth, 12.9.2017.
CreateBalancedBF
,
CreateBF
,
CreateCLK
,
StandardizeString
# Load test data testFile <- file.path(path.package("PPRL"), "extdata/testdata.csv") testData <-read.csv(testFile, head = FALSE, sep = "\t", colClasses = "character") # Create bit vectors e.g. with CreateBF testData <- CreateBF(ID = testData$V1, testData$V7, k = 20, padding = 1, q = 2, l = 1000, password = "(H]$6Uh*-Z204q") # Create Double Balanced Bloom Filters DBB <- CreateDoubleBalancedBF(ID = testData$ID, data = testData$CLKs, password = "hdayfkgh")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.