./geography/R-countrycode, Convert country names and country codes

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.6.0, Package name: R-countrycode-1.6.0, Maintainer: pkgsrc-users

Standardize country names, convert them into one of eleven coding
schemes, convert between coding schemes, and assign region
descriptors.


Required to run:
[math/R]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2024-11-26 14:02:05 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(geography/R-countrycode) Updated 1.4.0 to 1.6.0

## countrycode 1.6.0

* Important speed-up for detection of country names using regular expressions \ 
(Thanks to Etienne Bacher).
* `countryname` gets the `nomatch` argument.
* `countryname` returns NA when the code does not support a given country. \ 
(Issue #336)
* Improved regex for Italy
* `eurocontrol_statfor` updated: ESRA->ECAC to account for
  redistribution:
  https://www.eurocontrol.int/sites/default/files/2020-11/eurocontrol-forecast-2020-
  2024-region-definition.pdf Thanks to @sthonnard for contribution #352.
* Antarctica now has a "continent" value. Thanks to @geryan for report \ 
#353.

## countrycode 1.5.0

* `get_dictionary()` function to download custom dictionaries (cross-walks):
  - US States, Swiss Cantons, Global Burden of Disease, ExioBase, GTAP.
* New codes: Polity V "p5c", "p5n"
* New code "unhcr_region". Thanks to @galalH for code contribution #329
* Many regex improvements
* Several minor bug fixes
   2023-01-02 12:32:38 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(geography/R-countrycode) Updated 1.3.1 to 1.4.0

# country code 1.4.0

* Detect French country names using regular expressions: `origin = \ 
"country.name.fr"` (Thanks to Samuel Meichtry)
* Detect Italian country names using regular expressions: `origin = \ 
"country.name.it"` (Thanks to Samuel Meichtry)
   2022-05-02 14:10:56 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(geography/R-countrycode) Updated 1.3.0 to 1.3.1

# countrycode 1.3.1

* New code: unhcr
   2021-10-26 12:45:18 by Nia Alarie | Files touched by this commit (108)
Log message:
geography: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:09:33 by Nia Alarie | Files touched by this commit (108)
Log message:
geography: Remove SHA1 hashes for distfiles
   2021-09-20 06:11:53 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(geography/R-countrycode) Updated 1.1.0 to 1.3.0

# countrycode 1.3.0
* destination argument accepts a vector of strings and tries one after
  the other
* countryname(warn=TRUE) by default
* better class checks
* countryname defaults to `country.name.en` for missing country names
  (nomatch=NULL)
* Vietnam: better regex and support for vdem
* Namibia fixes: eurostat, genc2c, wb_api2c, ecb
* Various regex improvements
* Congo French disambiguation

# countrycode 1.2.0
* New 'countryname' function converts country names from any language
  (thanks to @davidsjoberg)
* New `guess_field` function guesses which code a vector uses
* Bug in dict build inserted NA in region variable (Thanks to M. Pascariu)
* Added region23 with the old, more granular regions
* Added unicode.symbol, which converts to emoji flags
* Added ISO 4217 currency name, alpha, and numeric codes
* Added UN region codes and names
* Added IANA ccTLD codes
* Improved various regexes

# countrycode 1.1.3
* Added Demographic and Health Surveys (thanks to @mcooper)

# countrycode 1.1.2
* Updated World Bank regions with manual additions

# countrycode 1.1.1
* Bug: Typo prevented users for using "p4n" as origin code
* Fixed bad icao.region codes (Thanks to @espinielli)
* Added country name "United Arab Republic" and its regex (Thanks to
  Gina Reynolds)
* Added SOM to wb code (Thanks to Fabian Besche)
* Added Vietnam to codelist_panel
   2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | Package updated
Log message:
Update all R packages to canonical form.

The canonical form [1] of an R package Makefile includes the
following:

- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
  needed), and CATEGORIES.

- HOMEPAGE is not present but defined in math/R/Makefile.extension to
  refer to the CRAN web page describing the package.  Other relevant
  web pages are often linked from there via the URL field.

This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.

[1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
   2018-07-28 16:40:53 by Brook Milligan | Files touched by this commit (126)
Log message:
Remove MASTER_SITES= from individual R package Makefiles.

Each R package should include ../../math/R/Makefile.extension, which also
defines MASTER_SITES.  Consequently, it is redundant for the individual
packages to do the same.  Package-specific definitions also prevent
redefining MASTER_SITES in a single common place.