Skip to content

eventdata/igraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published