getPairs: Generate basic pairwise comparisons for user accounts of...

Description Usage Arguments Value

Description

Given a dataframe containing at least account hashes, IDs and marketplaces, generate basic pairwise comparisons: edit distance between the IDs and whether or not they are from the same marketplace.

Usage

1
getPairs(dataframeName)

Arguments

dataframeName

name of dataframe that contains at least three columns: user hashes of interest (named 'vendor_hash'), alias ('id') and marketplace ('marketplace').

Value

dataframe with columns 'hash1', 'hash2', 'order1' (row corresponding to 'hash1' in 'dataframeName'), 'order2', 'id1', 'id2', 'marketplace1', 'marketplace2', 'idDist', 'sameMarket'


xhtai/heisenbrgr documentation built on June 8, 2019, 9:30 a.m.