View source: R/code_agreements.R
code_type | R Documentation |
Identify the type of international agreement from titles. Agreements can be, for example, multilateral treaties or coventions (A), protocols (P) or amendments (E), if they contain words in title.
code_type(title)
title |
A character vector of treaty title |
Types of agreements differentiate agreements
from protocols or amendments, for example.
For the complete list of types of agreements coded
please run the function without an argument
(i.e. code_type()
).
A character vector of the treaty type
## Not run:
IEADB <- dplyr::slice_sample(manyenviron::agreements$IEADB, n = 10)
code_type(IEADB$Title)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.