Skip to contents

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

Usage

estat(
  appId = deprecated(),
  statsDataId,
  lang = c("J", "E"),
  query = list(),
  path = "rest/3.0/app/json"
)

Arguments

appId

(Deprecated) an 'appId' of 'e-Stat' API.

statsDataId

A statistical data ID on 'e-Stat'.

lang

A language, Japanese ("J") or English ("E").

query

A list of additional queries.

path

An e-Stat API path.

Value

A estat object.

Examples

if (FALSE) {
estat("Your appId", "https://www.e-stat.go.jp/dbview?sid=0003433219")
}