countryframe {countrycode} | R Documentation |
countryframe can generate data frames of three types: (1) undirected dyad-year observations, (2) directed dyad-year observations, (3) country-year observations.
countryframe(TYPE, CODE, YEARS)
TYPE |
Either "undirected.dyads", "directed.dyads", or "country.years" |
CODE |
One of the 7 coding schemes supported by the countrycode function |
YEARS |
A range of years for which you want to generate individual rows |
Data frame
Vincent Arel-Bundock <varel@umich.edu>
## Usage example countryframe("undirected.dyads", "iso3c", c(1958:2002))