getJMDprefectures {HMDHFDplus}R Documentation

get a named vector of JMD prefecture codes

Description

This is a helper function for those familiar with prefecture names but not with prefecture codes (and vice versa). It is also useful for looped downloading of data.

Usage

getJMDprefectures()

Value

a character vector of 2-digit prefecture codes. Names correspond to the proper names given in the English version of the HMD webpage.

Examples

## Not run:  (prefectures <- getJMDprefectures()) 


[Package HMDHFDplus version 2.0.3 Index]