getJMDprefectures: get a named vector of JMD prefecture codes

View source: R/HMDutils.R

getJMDprefecturesR 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()) 


HMDHFDplus documentation built on July 9, 2023, 6:26 p.m.