countryframe {countrycode}R Documentation

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

Value

Data frame

Author(s)

Vincent Arel-Bundock <varel@umich.edu>

Examples

## Usage example
countryframe("undirected.dyads", "iso3c", c(1958:2002))

[Package countrycode version 0.2 Index]