extract.geo.info: Read Spectrum geographic metadata

View source: R/utils.R

extract.geo.infoR Documentation

Read Spectrum geographic metadata

Description

Extract the country ISO-3166 numeric code and subnational unit name and id number from Spectrum projection data

Usage

extract.geo.info(pjn.raw)

Arguments

pjn.raw

Raw projection parameter data, as returned by read.raw.pjn()

Value

A data frame with three elements:

iso.code ISO-3166 numeric country code

snu.name Subnational unit name. This is empty for national projections

snu.code Subnational numeric code. This is 0 for national projections

Details

Numeric subnational codes were assigned by Avenir Health for internal use in Spectrum. Unlike national ISO-3166 codes, these subnational codes are not governed by any international organization and may not match codes used for similar purposes by other organizations.


rlglaubius/SpectrumUtils documentation built on Dec. 20, 2024, 7:31 a.m.