getAllNlCtryCodes: Get all known valid ISO3 country codes

Description Usage Arguments Value

View source: R/ctrycode.R


Get a list of all known valid ISO3 country codes.


getAllNlCtryCodes(omit = "none")



The ctryCodes to exclude from processing based on observed behaviour. The option can take the following values:

  • missing ctryCodes that are in rworldmap but not on GADM

  • long ctryCodes that take very long to process using 'rast' options. May improve using more processors or using 'gdal' options.

  • error ctryCodes whose polygons have caused processing to crash in tests. Not extensively tested and may work fine on other systems.

  • all Omit a combination of all the above options

  • none Do not omit any ctryCodes


character vector of country codes

Rnightlights documentation built on Aug. 29, 2019, 5:02 p.m.