From 24da9db97db01ff9ae2c21d391c9487b7ef95d9c Mon Sep 17 00:00:00 2001 From: Pyry Kantanen Date: Mon, 29 Apr 2024 19:25:00 +0300 Subject: [PATCH] Update country datasets (fix issue #298) --- R/data_countries.R | 11 +++++++++-- data/ea_countries.rda | Bin 434 -> 781 bytes data/efta_countries.rda | Bin 245 -> 323 bytes data/eu_candidate_countries.rda | Bin 303 -> 608 bytes data/eu_countries.rda | Bin 521 -> 971 bytes man/eu_countries.Rd | 17 ++++++++++++----- 6 files changed, 21 insertions(+), 7 deletions(-) diff --git a/R/data_countries.R b/R/data_countries.R index 7d09d677..6af43ffa 100755 --- a/R/data_countries.R +++ b/R/data_countries.R @@ -2,9 +2,16 @@ #' @description Countries and country codes in EU, #' Euro area, EFTA and EU candidate countries. #' @format A data_frame: -#' * **code**: Country code in the Eurostat database. +#' * **code**: Country code in the Eurostat database (two-letter ISO code (ISO 3166 alpha-2) except in the case of Greece where EL is used). #' * **name**: Country name in English. -#' * **label**: Country name in the Eurostat database. +#' * **label**: Country name in the Eurostat database +#' * **name_fr**: Country name in French +#' * **name_de**: Country name in German +#' * **country_language**: Country name in national language(s). +#' +#' @details +#' Country codes are two-letter ISO codes (ISO 3166 alpha-2) except in the case +#' of Greece where EL is used instead of the standard ISO code. #' #' @family datasets #' @source , diff --git a/data/ea_countries.rda b/data/ea_countries.rda index 76ecea1d354d2f8934e9e179053f82ec23181a86..9ded67e0779f4b113a9f65fbb36cf57825337ac1 100644 GIT binary patch literal 781 zcmV+o1M>VrT4*^jL0KkKSgj^bh1m0-Y9eZF{7-=i(3~(N%&H+eIHO6SkgBNCW|*9fOkO4s3L z%eC8XSJh3m$ENQ`8C?Ag>JasPJk+pV{$cB#-Y?Ya6rvGGHsFE-u0DAMrLnD?ku0d8 zvEnC8e(S1Kl9YuM=hluw=?H!xve78{i20yH5?Bc#z5F=yg+=)o7G>A+0Up&1hy>3TBL6G2H}&C!&o(L}9kS*JM~XN7W|$0{j4RH~d- z;jWbHh0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uFGaKI=) vNcNN*0t!dqZx}v9c!J|oC+IRRpn`!?NKAP!kU0LZLjEq~ig2MI=L%93-EL)| diff --git a/data/eu_candidate_countries.rda b/data/eu_candidate_countries.rda index 4c790ec4c69161eb1accdcfea16746d782a81249..99fa08c34eb8fd98f637d28af77950807c12ea32 100644 GIT binary patch literal 608 zcmV-m0-yatT4*^jL0KkKS#-tZZU6yn|NsC0`GH6QkN`f<9zehU|FB2^M%HR5c2@`h zU;rQh0D-^({2Hnlik_e{00000000000002f+MsDCpo)1T(2qoDG&BZ`BLvBy02%`U z7@7d#pa2>T27ti;G&Iv78X7dn0f-s^5-5Qh1w5w8Jx@(dHd9S9WNjeR)X;jGGI~G& z01c>uwCSY#A>z#vNoHyH_+n7`N>^+yFauE`HUkER#xyp@n_>jR3;{+kNCahJ zk)#r|6cpi9_z5e<19o}zN68Yl|7O;@>BC#BJD=UE#lY zF00HPs|9Hwd@*7GfFnU9(!C>5w3G%MCR0H)27i8OW;O*P59sPf!;mROn|1|J6_Hyu zJ#z($3(kR5P*sYA8-yB^cqt1t^^nsIT;(M02J$B-SOTM(#{8Uh@1he2LC7zbFUWbT z2XjhtY7upjMdgiI8il!P`SEnB8_iI~R_crcugJ6r^#mIphB3FGPyk@VPj=>(t+ika uHs71bq$gc~aCj-m&eibGLQ_(vFhEfKG)f{Q{on`${x0N-aG@aSi^$w2>i>KI literal 303 zcmV+~0nq+JT4*^jL0KkKSsaw$BLD!u|IGjL$pAnB5CA3*9zehEpP)bh00amC03ome z6-{9(YI>Se#Cn-csiQQWi1eO7jWqIYM8PSfpfof900003Mu94(MjDMUCWcHC5E%xB z6C5Imnv`*npn!Hj-B5^H*D*^aFbV2ey&%9Ahy=*Nl~wCjs_WrHv!XauKZrJGx+W0L763wHi|eHO!+V?eaL=l@EAXXw&4d->xYvAhbxx>cX0NjCl3R zJ&$GA4ZK54L}lu8*uHrzS59IedO8lHry5SC@*^GcbjB<$AQXAx@iKvRhuWanAU3kD zcEkyagbW&YjR-tdA)Ne_qp{e*!%Pxmm5^v0BYc8`>yiF&JHSHzF64@Ep&&Uaz(zsP BfTjQd diff --git a/data/eu_countries.rda b/data/eu_countries.rda index b9305db055f17bd24f45152c8cddd4d5b74c1def..4684146a11f8593d477945900af0baca665a8766 100644 GIT binary patch literal 971 zcmV;+12p_XT4*^jL0KkKSn`SfBgUcNC*I9@Ss2M-*CVG|L{O00RVJpAOai! z00B?~o?D&VS7&kCxV$9^G}36)6U?dVW~ZqAMv0@*FcZ=0WG03XdJPeiPf$t`qBK*` z3Vx(%rkZ+zr>USc%@ZJG000dDl+r1v@}8zm82|tP00001paJRt<3m8vrbe1H$P7#n z01W}4G{_7IkR*_#*rtuCrY4V2&;SO2$Y{_2000i>sx3kk5)~Mn0W9|dNVIKQV&@Y< zLf-{$7{Cs8Oh;BXXSCw*O%Lix0ThrPgpw(+lCcRa>T6qwjocg@FKVk{dlD`RmW=%i zhL7mbe=?VqRw5yzf-8E4ClaYSdQB#I)M?kZ2%8i}Axc81?2LMu?er2%>w;%#o?;Tb zLNlr$I*|`mJP`1tL8OIQFvAfH%r39L2)UfynEq2RJ&VKa?~#|B?`D~#1Ws#k-cMHP!Eh} zY3oTl5i69$RJ$G?BwmuZ8NPQ|itAgAi6eZ3qw*5co6$hLso1GVl;#-_hH5DinW~ya zg_`ih2OOrAq_ma1H?10^RZLgIbGGfeR4O8>D=Hb!6BFP%xT&T?4XVz@s}swxl&(lA zg-VgxNzNAvk>*z^KFX3WQjmNGlqP-ZN|p(cAclfyrEC}%X`bdSkp^Qht}3RkY)_F2 z#IZLu-?AXFM8j1@PBn$3RYaIUM;;*=j54BV-8JpyU~0^$v1m^eOgTbmA5R-6bxd_p zIR|?-fr3gEGB5SfaEZ4j4~XuN_fCwk5rGCP%$sccVv$moVR;RQ{7VG*l5{MRioUor zt+a}RKvXnb*V7}W<9bL)8qQKLV&+ogygc)8R-D?lI>h-%z$`M%C6x=|fZ42AkdRo` zsw`NfMIK|(27)d63i(H57}AACO!uF-9VO1GakiKXduUG-(rOTNWWxcS2QwC0&+H0ssI3zybR0 zyMSS;c`4}uqd))v03K6MPyhe{s*UPQo~97UGGb@|XblYkhychLB$_n!8fX9j00000 z0B8!TVgQPGG=o#gG#VI2Xn@ej1Il`Z0JV|}Za5fe0VMP)qs5ZWr+&5p0s1=EHV6QS z#Lxg>p5m`zW8m5ryy-Wfu_hoAo-NcTYaaoM#6~8Mqe7HbNxZE=S3F;C^jcqa$tJ@D z@J5{`s7wepNd$xh6ah+75K52$Njwl{Ktx0^mg3RgTCBV6kkb_mbwGgyg9a7|7`9^W zt(GspX|O@V1_+p{o)82%BtVAHneitYGYmD2z>FsE3Y-uN1!92eF|fvJOI5Gw@9xPg zFvov;XD8^HvS{pWYj_krKG~qCb*({C2qo9Gjm>JOt#S?xf4S3Vwv_X#yJ9eHrMcA1 z{=v}PwZPKBbFqAydK+xNt9B<7Q+);rx6mjtJ5;91f_gPN9whu|CuxI5cyZ3PnNt=; z4P~U1sZ^yxP(^FUebgpcu~J1yr%77u{&!0=-y~?r;48}bFxkA~bFr{7p=?!|d0mo| znL;vmLdP17X)>jS+ttFcp-YPbP)8zl9#&^6w@Y?utZQ;4R)(eOSFt0)c7MKTA^cs* L6yZWbL0!pY`K;p; diff --git a/man/eu_countries.Rd b/man/eu_countries.Rd index e7112547..8ad9bb7a 100755 --- a/man/eu_countries.Rd +++ b/man/eu_countries.Rd @@ -10,16 +10,19 @@ \format{ A data_frame: \itemize{ -\item \strong{code}: Country code in the Eurostat database. +\item \strong{code}: Country code in the Eurostat database (two-letter ISO code (ISO 3166 alpha-2) except in the case of Greece where EL is used). \item \strong{name}: Country name in English. -\item \strong{label}: Country name in the Eurostat database. +\item \strong{label}: Country name in the Eurostat database +\item \strong{name_fr}: Country name in French +\item \strong{name_de}: Country name in German +\item \strong{country_language}: Country name in national language(s). } -An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 19 rows and 3 columns. +An object of class \code{data.frame} with 20 rows and 6 columns. -An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 4 rows and 3 columns. +An object of class \code{data.frame} with 4 rows and 6 columns. -An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 7 rows and 3 columns. +An object of class \code{data.frame} with 9 rows and 6 columns. } \source{ \url{https://ec.europa.eu/eurostat/statistics-explained/index.php/Tutorial:Country_codes_and_protocol_order}, @@ -38,6 +41,10 @@ eu_candidate_countries Countries and country codes in EU, Euro area, EFTA and EU candidate countries. } +\details{ +Country codes are two-letter ISO codes (ISO 3166 alpha-2) except in the case +of Greece where EL is used instead of the standard ISO code. +} \seealso{ Other datasets: \code{\link{eurostat_geodata_60_2016}},