Retrieves countries from a character vector

code_parties(v)

Arguments

v

A character vector

Value

A character vector of parties, in English, separated by commas.

Details

This function builds upon the `stat_actor` list and the `countrycode` package to identify and return the parties mentioned in a character vector of agreement titles or texts.

Examples

# NOT RUN {
library(gnevar)
code_parties(envr_agree$Title)[1:3]
# }