Skip to contents

Agreements should have a unique identification number that is meaningful, we condense their signature dates to produce this number.

Usage

code_dates(date)

Arguments

date

A date variable

Value

A character vector with condensed dates

Examples

# \donttest{
IEADB <- dplyr::slice_sample(manyenviron::agreements$IEADB, n = 10)
code_dates(IEADB$Title)
#>  [1] "Agreement Amending And Extending The Agreement Between The Government Of The United States Of America And The Government Of The Union Of Soviet Socialist Republics On Certain Fishery Problems In The North Eastern Part Of The Pacific Ocean Off The Coast Of The United States Of Ame"
#>  [2] "Agreement Regarding Maritime Fisheries Between Spain And The Seyche"                                                                                                                                                                                                                     
#>  [3] "Exchange Of Letters Constituting An Agreement Between Sri Lanka And India On The Wadge Bank Fishe"                                                                                                                                                                                       
#>  [4] "International Agreement On The River Scheldt50es"                                                                                                                                                                                                                                        
#>  [5] "Protocol On The Navigation Regime To The Framework Agreement On The Sava River B"                                                                                                                                                                                                        
#>  [6] "Convention Between The Grand Duchy Of Luxembourg And Prussia Concerning The Regulation Of Fisheries In Boundary Wa"                                                                                                                                                                      
#>  [7] "Convention For The Protection Of The World Cultural And Natural Heri"                                                                                                                                                                                                                    
#>  [8] "Amendments To The Constitution Of The European Commission For The Control Of Foot And Mouth Dis"                                                                                                                                                                                         
#>  [9] "Subsidiary Agreement On Fisheries Between The Government Of Australia And The Government Of Japan Concerning Japanese Tuna Long Line Fis"                                                                                                                                                
#> [10] "Agreement On The Regulation Of North Pacific Wha"                                                                                                                                                                                                                                        
# }