state_panel | R Documentation |
state_panel()
is a function to create a panel of state-years
from one of two major state systems in international relations scholarship.
state_panel(system = "cow", mry = TRUE)
system |
a state system (either "cow" or "gw") |
mry |
logical, defaults to TRUE. If TRUE, the panel created extends to the most recently concluded calendar year. If FALSE, the panel created ends at the year of last update. See details section for more. |
This function leans on cw_system
and gw_system
in this package.
The Correlates of War system's last year is 2016. The Gleditsch-Ward system's
last year is 2020. This information matters for the mry
argument in the
function.
state_panel()
returns a data frame of state years corresponding with
either the Correlates of War or the Gleditsch-Ward system.
head(state_panel(), 10)
head(state_panel(system='gw'), 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.