View source: R/meltt.disambiguate.R
meltt.disambiguate | R Documentation |
Auxiliary function used within meltt
to index events as multiple datasets are processed.
meltt.disambiguate(data, match_output, indexing, priormatches, averaging)
data |
data to be disambiguated passed as |
match_output |
data.frame object of identified matches passed from |
indexing |
data.frame object passed from |
priormatches |
prior matches (if any) passed as |
averaging |
specification if common information among matches should be averaged. Passed from |
Auxilary function used within meltt
to index events as multiple datasets are processed. Function keeps track of matching and non-matching events as each subsequent data.frame is processed. Using the identified matches from the meltt.match
output, meltt.disambiguate
merges the matches in the data and indexes the match. indexing
is used for correct labeling of matches in case more than two datasets are merged. averaging
averages the common information between matching events. The parameter is specified within the main function meltt
.
meltt.disambiguate
returns a list containing two object: a data frame with all located matches paired and a new index, specifying the data frame as a single frame, and a running index of all matched events.
Karsten Donnay and Eric Dunford.
Karsten Donnay, Eric T. Dunford, Erin C. McGrath, David Backer, David E. Cunningham. (2018). "Integrating Conflict Event Data." Journal of Conflict Resolution.
meltt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.