View source: R/inputs-spectrum.R
read_spectrum_region_name | R Documentation |
Read Subnational Region Name from Spectrum PJNZ
read_spectrum_region_name(pjnz)
pjnz |
file path to Spectrum PJNZ file. |
Value NA corresponds to region code 0 for a national Spectrum file.
Spectrum subnational region name as a string. Returns NA if no subnational region.
pjnz <- system.file("extdata/demo_mwi2019.PJNZ", package = "naomi")
read_spectrum_region_name(pjnz)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.