drop_best_match: Drop best match columns from tomtom results

View source: R/match_utils.R

drop_best_matchR Documentation

Drop best match columns from tomtom results

Description

Convenience function for dropping all columns created by runTomTom prefixed by "best_match_" and the "best_db_name" column. Keeps the "tomtom" data.frame column. Can be useful if you want to unnest the 'tomtom' data without propagating these columns.

Usage

drop_best_match(res)

Arguments

res

results of runTomTom

Value

'res' without the tomtom best_match_ columns

Examples

data("example_dreme_tomtom")
names(example_dreme_tomtom)
names(drop_best_match(example_dreme_tomtom))

snystrom/memes documentation built on Oct. 12, 2024, 2:42 a.m.