View source: R/meltt_duplicates.R
meltt_duplicates | R Documentation |
meltt_duplicates
returns all matching entries that are identified as matches during the integration process.
meltt_duplicates(object, columns = NULL)
object |
object of class |
columns |
string vector referencing column names located in the input data. Default is to return all columns contained in the input data. |
meltt_duplicates
returns all duplicated entries along with specified columns to compare which entries matched. Function allows for easy extraction all entries identified as duplicates.
Returns an data.frame
where the first columns contain an index for the data.source and event for each data frame. The subsequent columns are all columns specified in the columns
argument, or all columns contained in the original input data if columns = NULL
.
An "event_type" column is added to the output data.frame
specifying if the match was between events or episode. See meltt_inspect
for handling flagged event-to-episode matches.
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
, meltt_data
, meltt_inspect
data(crashMD) output = meltt(crash_data1, crash_data2, crash_data3, taxonomies = crash_taxonomies, twindow = 1, spatwindow = 3) duplicates = meltt_duplicates(output, column = c("date", "longitude", "latitude")) head(duplicates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.