code_accession_terms: Get conditions and processes to accede memberships

View source: R/code_accession.R

code_accession_termsR Documentation

Get conditions and processes to accede memberships

Description

The function extracts information on the conditions for parties to become part of a treaty or the different processes to become a treaty member.

Usage

code_accession_terms(textvar, title = NULL, accession = NULL)

Arguments

textvar

A text variable

title

A title variable. NULL by default.

accession

The "condition" or "process" for parties to accede a treaty. "process" by default.

Details

The function helps provide metadata on accession to treaties allowing researchers to connect and compare this information. The processes relate to how new members accede treaty and include treaty signature, treaty ratification, notification of consent, or majority vote. The conditions for treaty accession include entity type or area, a certain issue-domain, open membership for all, or nomination of new members.

Value

A list of the accession conditions or processes.

Examples

## Not run: 
m <- manyenviron::agreements$HUGGO[200:300,] %>%
     dplyr::select(Title, Beg, MainText, AppendixText, AnnexText)
code_accession_terms(m$MainText, m$Title, accession = "condition")
code_accession_terms(m$MainText, accession = "process")
code_accession_terms()

## End(Not run)

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