code_known_agreements: Code Known Agreements Abbreviation

View source: R/code_agreements.R

code_known_agreementsR Documentation

Code Known Agreements Abbreviation

Description

Some agreements have known abbreviations that facilitate their identification.

Usage

code_known_agreements(title)

Arguments

title

A character vector of treaty title

Details

The function identifies agreements that match the list of known agreements with their titles, abbreviations and signature dates and substitutes the known titles for abbreviations.For the complete list of known agreements coded for and their respective abbreviations please run the function without an argument (i.e. code_known_agreements()).

Value

A character vector of abbreviation of known treaties

Examples

## Not run: 
IEADB <- dplyr::slice_sample(manyenviron::agreements$IEADB, n = 10)
code_known_agreements(IEADB$Title)

## End(Not run)

globalgov/qCreate documentation built on April 27, 2023, 3:27 a.m.