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
| Name | Required | Description | Default |
|---|---|---|---|
| stats_data_id | Yes | ||
| cdcat01 | No | ||
| cdcat02 | No | ||
| cdcat03 | No | ||
| lvcat01 | No | ||
| lvcat02 | No | ||
| lvcat03 | No | ||
| lvcat04 | No | ||
| lvcat05 | No | ||
| lvcat06 | No | ||
| lvcat07 | No | ||
| lvcat08 | No | ||
| lvcat09 | No | ||
| lvcat10 | No | ||
| lvcat11 | No | ||
| lvcat12 | No | ||
| lvcat13 | No | ||
| lvcat14 | No | ||
| lvcat15 | No | ||
| cdtime | No | ||
| cdarea | No | ||
| start_position | No | ||
| section_header_flg | No | ||
| cnt_get_flg | No | ||
| limit | No |
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"
}