code_parties.RdRetrieves countries from a character vector
code_parties(v)
| v | A character vector |
|---|
A character vector of parties, in English, separated by commas.
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.
# NOT RUN { library(gnevar) code_parties(envr_agree$Title)[1:3] # }