Returns a nested parsed list of instructions that define how to compare two data sets. Each instruction (outer list element) has three parts (inner list). The first part is the left field name, the second part is the right field, and the third part is a similarity function.
Usage
# S3 method for class 'neer_match.similarity_map.SimilarityMap'
as.list(x, ...)Examples
smap <- SimilarityMap(list(
"title" = list("jaro"),
"author~who" = list("lcsseq", "hamming")
))
as.list(smap)
#> [[1]]
#> [[1]][[1]]
#> [1] "title"
#>
#> [[1]][[2]]
#> [1] "title"
#>
#> [[1]][[3]]
#> [1] "jaro"
#>
#>
#> [[2]]
#> [[2]][[1]]
#> [1] "author"
#>
#> [[2]][[2]]
#> [1] "who"
#>
#> [[2]][[3]]
#> [1] "lcsseq"
#>
#>
#> [[3]]
#> [[3]][[1]]
#> [1] "author"
#>
#> [[3]][[2]]
#> [1] "who"
#>
#> [[3]][[3]]
#> [1] "hamming"
#>
#>
