meltt.disambiguate: Tracking and indexing of matching entries [Auxiliary...

Description Usage Arguments Details Value Author(s) References See Also

View source: R/meltt.disambiguate.R

Description

Auxiliary function used within meltt to index events as multiple datasets are processed.

Usage

1
meltt.disambiguate(data, match_output, indexing, priormatches, averaging)

Arguments

data

data to be disambiguated passed as data.frame object from meltt. See details.

match_output

data.frame object of identified matches passed from meltt.match. See details.

indexing

data.frame object passed from meltt that specifies the correct index for every event and dataset. See details.

priormatches

prior matches (if any) passed as data.frame. See details.

averaging

specification if common information among matches should be averaged. Passed from meltt. See details.

Details

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.

Value

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.

Author(s)

Karsten Donnay and Eric Dunford.

References

Karsten Donnay, Eric T. Dunford, Erin C. McGrath, David Backer, David E. Cunningham. (2018). "Integrating Conflict Event Data." Journal of Conflict Resolution.

See Also

meltt


css-konstanz/meltt documentation built on July 8, 2018, 10:15 p.m.