extract_coding_matches: Creates tibble of all matches from the election violence...

View source: R/report_scoring_utility.R

extract_coding_matchesR Documentation

Creates tibble of all matches from the election violence database

Description

extract_matches is a wrapper function for applications of record matching.

Usage

extract_coding_matches()

Value

A tibble of all the database entries which have been matched. The columns of the tibble are as follows pair_no unique id for the user_doc allocations (i.e. identifies the two user allocations at the document allocation level. case_no a unique id at the level one up from the match (i.e. identifying the two tag_ids for attributes, identifying the two event_report ids for tags, identifying the two document allocations for event reports). model_var is the id of the first record being compared, user_var is the id of the second record being compared, match_type is the database table the match is from (values: "user_doc", "ev_report", "tags", "attributes"), score is the matching score on which the match is based.


gidonc/durhamevp documentation built on April 8, 2022, 10:31 a.m.