Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 1.19 KB

README.md

File metadata and controls

13 lines (7 loc) · 1.19 KB

Summary

This repository is focused on the visualization of cooperation and conflict among countries as source and target actors.

The data are obtained via the UTDEventData R package (please refer to the "Data_Pull.Rmd" file for an example of how to interact with the UTDEventData R package to query event data). An API key is required to access the data, and registration can be accomplished here: https://eventdata.utdallas.edu/signup.

The igraph package in R is utilized to generate static images, while the pacman and magick packages are used to animate those images.

The "EventData.Rmd" file relies on the "EventData.json" file for the data, and the "igraphs_animated.gif" is the product of those two files.

For this example, the script in the "EventData.Rmd" file will create four igraphs for 2022 (January, February, March, and April) involving cooperation and conflict among the U.S., Ukraine, Turkey, Russia, India, Great Britain, Germany, and China. It will then produce a GIF so that the changes over time can be viewed in an animated format.

image