read_spectrum_region_name.Rd
Read Subnational Region Name from Spectrum PJNZ
read_spectrum_region_name(pjnz)
Spectrum subnational region name as a string. Returns NA if no subnational region.
Value NA corresponds to region code 0 for a national Spectrum file.
pjnz <- system.file("extdata/demo_mwi2019.PJNZ", package = "naomi")
read_spectrum_region_name(pjnz)
#> [1] NA