Dear all,
I have a dataset that contains (directed) dyadic (country-level) data:
I would like to restructure this data in such a way that I get a dataset containing (directed) dyadic country level relationships for all countries around the world for the period 2014-2020 (including the ones where my data did not report an incident), where I can subsequently add both data on the countries' individually (like GDP for a country in a particular year), as well as on the relationship between two countries (like whether there was a military alliance between the two countries).
Any help is very much appreciated. I apologize if my question is very ignorant.
Kindest regards,
Kris Ruijgrok
I have a dataset that contains (directed) dyadic (country-level) data:
Code:
input int COWNHost str22 HostCountry int COWNOrigin str20 OriginCountry float(yr totalincidents) 2 "United States" 710 "China" 2014 1 2 "United States" 365 "Russia" 2017 1 2 "United States" 365 "Russia" 2018 1 91 "Honduras" 93 "Nicaragua" 2019 3 91 "Honduras" 93 "Nicaragua" 2019 3 91 "Honduras" 93 "Nicaragua" 2019 3
Any help is very much appreciated. I apologize if my question is very ignorant.
Kindest regards,
Kris Ruijgrok
Comment