This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
library(countrycode)
library(tidyverse)
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr 1.1.4 ✔ readr 2.1.5
## ✔ forcats 1.0.1 ✔ stringr 1.5.2
## ✔ ggplot2 4.0.0 ✔ tibble 3.3.0
## ✔ lubridate 1.9.4 ✔ tidyr 1.3.1
## ✔ purrr 1.1.0
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag() masks stats::lag()
## ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
hr <- read.csv ("C:\\Users\\USER\\OneDrive\\İş masası\\humanrights-treaties-ratification-status-main\\hr_status_icerd.csv")
hr
## iso2 member state.party
## 1 AF Afghanistan 1
## 2 AL Albania 1
## 3 DZ Algeria 1
## 4 AD Andorra 1
## 5 AO Angola 1
## 6 AG Antigua And Barbuda 1
## 7 AR Argentina 1
## 8 AM Armenia 1
## 9 AU Australia 1
## 10 AT Austria 1
## 11 AZ Azerbaijan 1
## 12 BS Bahamas 1
## 13 BH Bahrain 1
## 14 BD Bangladesh 1
## 15 BB Barbados 1
## 16 BY Belarus 1
## 17 BE Belgium 1
## 18 BZ Belize 1
## 19 BJ Benin 1
## 20 BT Bhutan 0
## 21 BO Bolivia 1
## 22 BA Bosnia And Herzegovina 1
## 23 BW Botswana 1
## 24 BR Brazil 1
## 25 BN Brunei Darussalam 1
## 26 BG Bulgaria 1
## 27 BF Burkina Faso 1
## 28 BI Burundi 1
## 29 KH Cambodia 1
## 30 CM Cameroon 1
## 31 CA Canada 1
## 32 CV Cape Verde 1
## 33 CF Central African Republic 1
## 34 TD Chad 1
## 35 CL Chile 1
## 36 CN China 1
## 37 CO Colombia 1
## 38 KM Comoros 1
## 39 CG Congo 1
## 40 CR Costa Rica 1
## 41 HR Croatia 1
## 42 CU Cuba 1
## 43 CY Cyprus 1
## 44 CZ Czech Republic 1
## 45 CD Democratic Republic of Congo 1
## 46 DK Denmark 1
## 47 DJ Djibouti 1
## 48 DM Dominica 1
## 49 DO Dominican Republic 1
## 50 TP East Timor 1
## 51 EC Ecuador 1
## 52 EG Egypt 1
## 53 SV El Salvador 1
## 54 GQ Equatorial Guinea 1
## 55 ER Eritrea 1
## 56 EE Estonia 1
## 57 ET Ethiopia 1
## 58 FJ Fiji 1
## 59 FI Finland 1
## 60 FR France 1
## 61 GA Gabon 1
## 62 GM Gambia 1
## 63 GE Georgia 1
## 64 DE Germany 1
## 65 GH Ghana 1
## 66 GR Greece 1
## 67 GD Grenada 1
## 68 GT Guatemala 1
## 69 GN Guinea 1
## 70 GW Guinea-bissau 1
## 71 GY Guyana 1
## 72 HT Haiti 1
## 73 HN Honduras 1
## 74 HU Hungary 1
## 75 IS Iceland 1
## 76 IN India 1
## 77 ID Indonesia 1
## 78 IR Iran 1
## 79 IQ Iraq 1
## 80 IE Ireland 1
## 81 IL Israel 1
## 82 IT Italy 1
## 83 CI Ivory Coast 1
## 84 JM Jamaica 1
## 85 JP Japan 1
## 86 JO Jordan 1
## 87 KZ Kazakhstan 1
## 88 KE Kenya 1
## 89 KI Kiribati 0
## 90 KW Kuwait 1
## 91 KG Kyrgyzstan 1
## 92 LA Laos 1
## 93 LV Latvia 1
## 94 LB Lebanon 1
## 95 LS Lesotho 1
## 96 LR Liberia 1
## 97 LY Libya 1
## 98 LI Liechtenstein 1
## 99 LT Lithuania 1
## 100 LU Luxembourg 1
## 101 MG Madagascar 1
## 102 MW Malawi 1
## 103 MY Malaysia 0
## 104 MV Maldives 1
## 105 ML Mali 1
## 106 MT Malta 1
## 107 MH Marshall Islands 1
## 108 MR Mauritania 1
## 109 MU Mauritius 1
## 110 MX Mexico 1
## 111 FM Micronesia, Federated States Of 0
## 112 MD Moldova 1
## 113 MC Monaco 1
## 114 MN Mongolia 1
## 115 ME Montenegro 1
## 116 MA Morocco 1
## 117 MZ Mozambique 1
## 118 MM Myanmar 0
## 119 <NA> Namibia 1
## 120 NR Nauru 0
## 121 NP Nepal 1
## 122 NL Netherlands 1
## 123 NZ New Zealand 1
## 124 NI Nicaragua 1
## 125 NE Niger 1
## 126 NG Nigeria 1
## 127 KP North Korea 0
## 128 MK North Macedonia 1
## 129 NO Norway 1
## 130 OM Oman 1
## 131 PK Pakistan 1
## 132 PW Palau 0
## 133 PA Panama 1
## 134 PG Papua New Guinea 1
## 135 PY Paraguay 1
## 136 PE Peru 1
## 137 PH Philippines 1
## 138 PL Poland 1
## 139 PT Portugal 1
## 140 QA Qatar 1
## 141 RO Romania 1
## 142 RU Russia 1
## 143 RW Rwanda 1
## 144 WS Samoa 0
## 145 SM San Marino 1
## 146 ST Sao Tome And Principe 1
## 147 SA Saudi Arabia 1
## 148 SN Senegal 1
## 149 RS Serbia 1
## 150 SC Seychelles 1
## 151 SL Sierra Leone 1
## 152 SG Singapore 1
## 153 SK Slovakia 1
## 154 SI Slovenia 1
## 155 SB Solomon Islands 1
## 156 SO Somalia 1
## 157 ZA South Africa 1
## 158 KR South Korea 1
## 159 SS South Sudan 0
## 160 ES Spain 1
## 161 LK Sri Lanka 1
## 162 KN St. Kitts And Nevis 1
## 163 LC St. Lucia 1
## 164 VC St. Vincent And The Grenadines 1
## 165 SD Sudan 1
## 166 SR Suriname 1
## 167 SZ Swaziland 1
## 168 SE Sweden 1
## 169 CH Switzerland 1
## 170 SY Syrian Arab Republic 1
## 171 TJ Tajikistan 1
## 172 TZ Tanzania 1
## 173 TH Thailand 1
## 174 TG Togo 1
## 175 TO Tonga 1
## 176 TT Trinidad And Tobago 1
## 177 TN Tunisia 1
## 178 TR Turkey 1
## 179 TM Turkmenistan 1
## 180 TV Tuvalu 0
## 181 UG Uganda 1
## 182 UA Ukraine 1
## 183 AE United Arab Emirates 1
## 184 GB United Kingdom 1
## 185 US United States 1
## 186 UY Uruguay 1
## 187 UZ Uzbekistan 1
## 188 VU Vanuatu 0
## 189 VE Venezuela 1
## 190 VN Viet Nam 1
## 191 YE Yemen 1
## 192 ZM Zambia 1
## 193 ZW Zimbabwe 1
## year.ratification.or.accession signatory no.action status
## 1 1983 0 0 state party
## 2 1994 0 0 state party
## 3 1972 0 0 state party
## 4 2006 0 0 state party
## 5 2019 0 0 state party
## 6 1998 0 0 state party
## 7 1968 0 0 state party
## 8 1993 0 0 state party
## 9 1975 0 0 state party
## 10 1972 0 0 state party
## 11 1996 0 0 state party
## 12 1975 0 0 state party
## 13 1990 0 0 state party
## 14 1979 0 0 state party
## 15 1972 0 0 state party
## 16 1969 0 0 state party
## 17 1975 0 0 state party
## 18 2001 0 0 state party
## 19 2001 0 0 state party
## 20 NA 1 0 signatory state
## 21 1970 0 0 state party
## 22 1993 0 0 state party
## 23 1974 0 0 state party
## 24 1966 0 0 state party
## 25 1969 0 1 state party
## 26 1966 0 0 state party
## 27 1974 0 0 state party
## 28 1977 0 0 state party
## 29 1983 0 0 state party
## 30 1971 0 0 state party
## 31 1970 0 0 state party
## 32 1979 0 0 state party
## 33 1971 0 0 state party
## 34 1977 0 0 state party
## 35 1971 0 0 state party
## 36 1981 0 0 state party
## 37 1981 0 0 state party
## 38 2004 0 0 state party
## 39 1988 0 0 state party
## 40 1967 0 0 state party
## 41 1992 0 0 state party
## 42 1972 0 0 state party
## 43 1967 0 0 state party
## 44 1993 0 0 state party
## 45 1976 0 0 state party
## 46 1971 0 0 state party
## 47 2011 0 0 state party
## 48 2019 0 0 state party
## 49 1983 0 0 state party
## 50 2003 0 0 state party
## 51 1966 0 0 state party
## 52 1967 0 0 state party
## 53 1979 0 0 state party
## 54 2002 0 0 state party
## 55 2001 0 0 state party
## 56 1991 0 0 state party
## 57 1973 0 0 state party
## 58 1973 0 0 state party
## 59 1970 0 0 state party
## 60 1971 0 0 state party
## 61 1980 NA NA state party
## 62 1978 0 0 state party
## 63 1999 0 0 state party
## 64 1973 0 0 state party
## 65 1966 0 0 state party
## 66 1970 0 0 state party
## 67 2013 0 0 state party
## 68 1983 0 0 state party
## 69 1977 0 0 state party
## 70 2010 0 0 state party
## 71 1977 0 0 state party
## 72 1972 0 0 state party
## 73 2002 0 0 state party
## 74 1967 0 0 state party
## 75 1967 0 0 state party
## 76 1968 0 0 state party
## 77 1999 0 0 state party
## 78 1968 0 0 state party
## 79 1970 0 0 state party
## 80 2000 0 0 state party
## 81 1979 0 0 state party
## 82 1976 0 0 state party
## 83 1973 0 0 state party
## 84 1966 0 0 state party
## 85 1995 0 0 state party
## 86 1974 0 0 state party
## 87 1998 0 0 state party
## 88 2001 0 0 state party
## 89 NA 0 1 no action
## 90 1968 0 0 state party
## 91 1997 0 0 state party
## 92 1974 0 0 state party
## 93 1992 0 0 state party
## 94 1971 0 0 state party
## 95 1971 0 0 state party
## 96 1976 0 0 state party
## 97 1968 0 0 state party
## 98 2000 0 0 state party
## 99 1998 0 0 state party
## 100 1978 0 0 state party
## 101 1969 0 0 state party
## 102 1996 0 0 state party
## 103 NA 0 1 no action
## 104 1984 0 0 state party
## 105 1974 0 0 state party
## 106 1971 0 0 state party
## 107 2019 0 0 state party
## 108 1988 0 0 state party
## 109 1972 0 0 state party
## 110 1966 0 0 state party
## 111 NA 0 1 no action
## 112 1993 0 0 state party
## 113 1995 0 0 state party
## 114 1969 0 0 state party
## 115 2006 0 0 state party
## 116 1970 0 0 state party
## 117 1983 0 0 state party
## 118 NA 0 1 no action
## 119 1982 0 0 state party
## 120 NA 1 0 signatory state
## 121 1971 0 0 state party
## 122 1971 0 0 state party
## 123 1972 0 0 state party
## 124 1978 0 0 state party
## 125 1967 0 0 state party
## 126 1967 0 0 state party
## 127 NA 0 1 no action
## 128 1994 0 0 state party
## 129 1970 0 0 state party
## 130 2003 0 0 state party
## 131 1966 0 0 state party
## 132 NA 1 0 signatory state
## 133 1967 0 0 state party
## 134 1982 0 0 state party
## 135 2003 0 0 state party
## 136 1971 0 0 state party
## 137 1967 0 0 state party
## 138 1968 0 0 state party
## 139 1982 0 0 state party
## 140 1976 0 0 state party
## 141 1970 0 0 state party
## 142 1969 0 0 state party
## 143 1975 0 0 state party
## 144 NA 0 1 no action
## 145 2002 0 0 state party
## 146 2017 0 0 state party
## 147 1997 0 0 state party
## 148 1972 0 0 state party
## 149 2001 0 0 state party
## 150 1978 0 0 state party
## 151 1967 0 0 state party
## 152 2017 0 0 state party
## 153 1993 0 0 state party
## 154 1992 0 0 state party
## 155 1982 0 0 state party
## 156 1975 0 0 state party
## 157 1998 0 0 state party
## 158 1978 0 0 state party
## 159 NA 0 1 no action
## 160 1968 0 0 state party
## 161 1982 0 0 state party
## 162 2006 0 0 state party
## 163 1990 0 0 state party
## 164 1981 0 0 state party
## 165 1977 0 0 state party
## 166 1984 0 0 state party
## 167 1969 0 0 state party
## 168 1971 0 0 state party
## 169 1994 0 0 state party
## 170 1969 0 0 state party
## 171 1995 0 0 state party
## 172 1972 0 0 state party
## 173 2003 0 0 state party
## 174 1972 0 0 state party
## 175 1972 0 0 state party
## 176 1973 0 0 state party
## 177 1967 0 0 state party
## 178 2002 0 0 state party
## 179 1994 0 0 state party
## 180 NA 0 1 no action
## 181 1980 0 0 state party
## 182 1969 0 0 state party
## 183 1974 0 0 state party
## 184 1966 0 0 state party
## 185 1966 0 0 state party
## 186 1968 0 0 state party
## 187 1995 0 0 state party
## 188 NA 0 1 no action
## 189 1967 0 0 state party
## 190 1982 0 0 state party
## 191 1972 0 0 state party
## 192 1972 0 0 state party
## 193 1991 0 0 state party
## note
## 1
## 2
## 3
## 4
## 5
## 6
## 7
## 8
## 9
## 10
## 11
## 12
## 13
## 14
## 15
## 16
## 17
## 18
## 19
## 20
## 21
## 22
## 23
## 24
## 25 Brunei's signature was tied to UK's ratification as noted in the declarations and reservations.
## 26
## 27
## 28
## 29
## 30
## 31
## 32 Found as Cabo Verde in the UN Treaty Collection Website.
## 33
## 34
## 35
## 36
## 37
## 38
## 39
## 40
## 41
## 42
## 43
## 44
## 45 The name should be fixed in the other sheets.
## 46
## 47
## 48
## 49
## 50 Found as Timor-Leste in the UN Treaty Collection
## 51
## 52
## 53
## 54
## 55
## 56
## 57
## 58
## 59
## 60
## 61
## 62
## 63
## 64
## 65
## 66
## 67
## 68
## 69
## 70
## 71
## 72
## 73
## 74
## 75
## 76
## 77
## 78
## 79
## 80
## 81
## 82
## 83 Found as Cote D'Ivoire in UN Treaty Collection
## 84
## 85
## 86
## 87
## 88
## 89
## 90
## 91
## 92
## 93
## 94
## 95
## 96
## 97
## 98
## 99
## 100
## 101
## 102
## 103
## 104
## 105
## 106
## 107
## 108
## 109
## 110
## 111
## 112 Found as Republic of Moldova in the UN Treaty Collection
## 113
## 114
## 115
## 116
## 117
## 118
## 119
## 120
## 121
## 122
## 123
## 124
## 125
## 126
## 127
## 128
## 129
## 130
## 131
## 132
## 133
## 134
## 135
## 136
## 137
## 138
## 139
## 140
## 141
## 142
## 143
## 144
## 145
## 146
## 147
## 148
## 149
## 150
## 151
## 152
## 153
## 154
## 155
## 156
## 157
## 158 Found as Republic of Korea in the UN Treaty Collection
## 159
## 160
## 161
## 162
## 163
## 164
## 165
## 166
## 167 Found as Eswatini in the UN Treaty Collection
## 168
## 169
## 170
## 171
## 172
## 173
## 174
## 175
## 176
## 177
## 178
## 179
## 180
## 181
## 182
## 183
## 184
## 185
## 186
## 187
## 188
## 189
## 190
## 191
## 192
## 193
You can also embed plots, for example:
## long lat group order region subregion
## 1 -69.89912 12.45200 1 1 Aruba <NA>
## 2 -69.89571 12.42300 1 2 Aruba <NA>
## 3 -69.94219 12.43853 1 3 Aruba <NA>
## 4 -70.00415 12.50049 1 4 Aruba <NA>
## 5 -70.06612 12.54697 1 5 Aruba <NA>
## 6 -70.05088 12.59707 1 6 Aruba <NA>
Note that the echo = FALSE parameter was added to the
code chunk to prevent printing of the R code that generated the
plot.
worldplot <- ggplot()+
geom_polygon(data=wmap, aes(x=long, y=lat, group = group))+
coord_fixed(1.3)
worldplot