countryframe: Generate data frames from any of the coding schemes
Description
countryframe can generate data frames of three types: (1) undirected dyad-year observations, (2) directed dyad-year observations, (3) country-year observations.
Usage
countryframe(TYPE, CODE, YEARS)
Arguments
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