# AGENTS.md — 国・都道府県の機関データ (P28)
104 files, 9 MB, 2013–2022.

## Before you download
| | |
|---|---|
| Files | 104 |
| Measured total | 9 MB |
| Years present | 2013, 2022 |
| Newest edition | 2022 |
| Coordinate system | JGD2011 / （B, L） |
| Geometry | 点 |

## Licence
Per file, resolved from the file's own year: 再配布できない 104.
The Collection's own `license` is `other`; it falls back to `other` whenever any single year in the dataset does. Read the Item's `license` and its `ksj:terms_applied`, the sentence that decided it.

## Columns
- **属性情報** — 5 columns: `P28_001` 行政区域コード, `P28_002` 国・都道府県の機関分類, `P28_003` 名称, `P28_004` 所在地, `P28_005` 管理者コード

Column names are what a query has to spell; the readable name is beside it. These come from the dataset page, which keeps superseded schemas as HTML comments -- those are stripped, so what is listed here is the current edition's.

## Count it, do not trust this file
Every number above is generated from the catalog, but a fact stated in prose goes stale silently. The Items are the record:

```sql
select year, region, redistribution, file_size
  from 'https://stac.yuiseki.net/mlit-nlftp/items.parquet'
 where collection = 'P28'
 order by year desc;
```

`ksj:is_latest` on an Item is computed per region, so the newest year for the country is not the newest year everywhere.
