recordlinkage icon indicating copy to clipboard operation
recordlinkage copied to clipboard

Issues with the geographic classification method

Open JosephKuchar opened this issue 4 years ago • 1 comments

Hi,

I'm just wondering if there is an example of using the current version of this package with the geographic method? If I try to add Haversine distance to my compare object, something like

compare = rl.Compare()
compare.string('Address', 'Address', method='damerau_levenshtein',  label='Addr_DL')
compare.geographic('Latitude','Longitude','Latitude','Longitude',label='Distance')

Then the geographic method doesn't work ("'Compare' object has no attribute 'geographic'")- is there a working example somewhere I can take a look at?

JosephKuchar avatar Apr 22 '20 15:04 JosephKuchar

try using 'compare.geo' instead of geographic

benbusath avatar May 20 '20 23:05 benbusath