| Title: | Tools for Easy Use of the 'e-Stat' API |
|---|---|
| Description: | Provides tools to use the 'e-Stat' API (<https://www.e-stat.go.jp/>), the portal site for Japanese government statistics. |
| Authors: | Mizuki Uchida [aut, cre] |
| Maintainer: | Mizuki Uchida <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.5.0 |
| Built: | 2026-07-13 01:24:32 UTC |
| Source: | https://github.com/uchidamizuki/jpstat |
The estat() gets the meta-information of a statistical table by using getMetaInfo of the 'e-Stat' API,
and returns an estat object that allows editing of meta-information by dplyr::filter() and dplyr::select().
estat( statsDataId, lang = c("J", "E"), query = list(), path = "rest/3.0/app/json" )estat( statsDataId, lang = c("J", "E"), query = list(), path = "rest/3.0/app/json" )
statsDataId |
A statistical data ID on 'e-Stat'. |
lang |
A language, Japanese ( |
query |
A list of additional queries. |
path |
An e-Stat API path. |
A estat object.
## Not run: Sys.setenv(ESTAT_API_KEY = "Your API key") estat("https://www.e-stat.go.jp/dbview?sid=0003433219") ## End(Not run)## Not run: Sys.setenv(ESTAT_API_KEY = "Your API key") estat("https://www.e-stat.go.jp/dbview?sid=0003433219") ## End(Not run)
Get table information for 'e-Stat' data
estat_table_info(x)estat_table_info(x)
x |
A |
A tbl_df of the table information.
Provides tools to use the 'e-Stat' API (https://www.e-stat.go.jp/), the portal site for Japanese government statistics.
Maintainer: Mizuki Uchida [email protected]
Authors:
Mizuki Uchida [email protected]
Useful links:
Report bugs at https://github.com/UchidaMizuki/jpstat/issues