R interface to statistical database organized by Japanese government (

How to use it?

  1. Search statistial data

    > getStatsList("北海道 AND 人口", surveyYears = 2008)

  2. Get data

    > hpop20 <- getStatsData("0003009759")

  3. Show the data

    > print(hpop20)

    > head([email protected][[1]])



This services use the API of Gateway to Advanced and User-friendly Statistics Service. The contents of this service are not guranteened by Ministry of Internal Affairs and Communications nor National Statistics Center.

Try the Rjpstatdb package in your browser

Any scripts or data that you put into this service are public.

Rjpstatdb documentation built on May 29, 2017, 10:55 a.m.