Skip to main content
Glama

get_stats_data

Retrieve statistical data from Japan's official government portal by specifying table IDs and filtering by categories, time periods, and geographic regions.

Instructions

統計データを取得する.

Args: stats_data_id: 統計表ID cdcat01: 分類事項01のコード(絞り込み用) cdcat02: 分類事項02のコード(絞り込み用) cdcat03: 分類事項03のコード(絞り込み用) lvcat01-lvcat15: 分類事項の階層レベル(lvCatXX) cdtime: 時間軸コード(絞り込み用) cdarea: 地域コード(絞り込み用) start_position: データ取得開始位置 section_header_flg: セクションヘッダ出力フラグ(Trueで有効) cnt_get_flg: 件数取得フラグ(Trueで有効) limit: 取得件数(デフォルト100件)

Returns: 統計データ

Input Schema

NameRequiredDescriptionDefault
stats_data_idYes
cdcat01No
cdcat02No
cdcat03No
lvcat01No
lvcat02No
lvcat03No
lvcat04No
lvcat05No
lvcat06No
lvcat07No
lvcat08No
lvcat09No
lvcat10No
lvcat11No
lvcat12No
lvcat13No
lvcat14No
lvcat15No
cdtimeNo
cdareaNo
start_positionNo
section_header_flgNo
cnt_get_flgNo
limitNo

Input Schema (JSON Schema)

{ "properties": { "cdarea": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "cdcat01": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "cdcat02": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "cdcat03": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "cdtime": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "cnt_get_flg": { "default": false, "type": "boolean" }, "limit": { "default": 100, "type": "integer" }, "lvcat01": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat02": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat03": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat04": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat05": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat06": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat07": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat08": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat09": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat10": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat11": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat12": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat13": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat14": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "lvcat15": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "section_header_flg": { "default": false, "type": "boolean" }, "start_position": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null }, "stats_data_id": { "type": "string" } }, "required": [ "stats_data_id" ], "type": "object" }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/koizumikento/e-stats-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server