CreateDoubleBalancedBF {PPRL} | R Documentation |
Double Balanced Bloomfilter Encoding
Description
Double balanced Bloom Filter are created by first creating balanced Bloom Filters, see CreateBalancedBF
, negating the whole data set and shuffling each Bloom Filter.
Usage
CreateDoubleBalancedBF(ID, data, password)
Arguments
ID |
A character vector containing the ID. The ID vector must have the same size as the number of rows of data. |
data |
|
password |
A string to encode the routines. |
Value
A data.frame containing IDs and the corresponding double balanced bit vector.
References
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.
See Also
CreateBalancedBF
,
CreateBF
,
CreateCLK
,
StandardizeString
Examples
# 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")
[Package PPRL version 0.3.8 Index]