These are dyad-year-level data for national trade from the Correlates of War project.
cow_trade_ndy
A data frame with 673654 observations on the following seven variables.
ccode1a numeric vector for the Correlates of War state code for the first state
ccode2a numeric vector for the Correlates of War state code for the second state
yearthe year
flow1imports of ccode1 from ccode2, in current million USD
flow2imports of ccode2 from ccode1, in current million USD
smoothflow1smoothed flow1 values
smoothflow2smoothed flow2 values
The data-raw directory on the project's Github shows how the data were processed.
Barbieri, Katherine and Omar M.G. Keshk. 2016. Correlates of War Project Trade Data Set Codebook, Version 4.0. Online: https://correlatesofwar.org
Barbieri, Katherine, Omar M.G. Keshk, and Brian Pollins. 2009. "TRADING DATA: Evaluating Our Assumptions and Coding Rules." Conflict Management and Peace Science, 26(5): 471-491.