read_spectrum_region_code.Rd
Read Subnational Region Code from Spectrum PJNZ
read_spectrum_region_code(pjnz)
Spectrum subnational region code as an integer.
The region code is 0 if a national Spectrum file.
pjnz <- system.file("extdata/demo_mwi2019.PJNZ", package = "naomi")
read_spectrum_region_code(pjnz)
#> [1] 0