plotCtryWithTilesVIIRS: Plot a country boundary with the VIIRS tiles and world map

Description Usage Arguments Details Value Examples

View source: R/tiles.R

Description

Plot a country boundary as defined in the rworldmap package along with the VIIRS nightlight tiles for a visual inspection of the tiles required for download in order to process a country's nightlight data. Output corresponds to that of getCtryNlTiles()

Usage

1

Arguments

ctry

character the 3-letter ISO3 country code e.g. "KEN" or a common name of the country e.g. "Kenya" as found valid by rworldmap::rwmgetISO3()

Details

It utilizes rworldmap::rwmgetISO3() to resolve country codes as well as names.

Value

None

Examples

1
2
#by ctryCode
## Not run: plotCtryWithTilesVIIRS("KEN")

chrisvwn/Rnightlights documentation built on Sept. 7, 2021, 1:44 a.m.