# AGENTS.md — 公共施設データ (P02)
94 files, 41 MB, 1990–2006.

## Before you download
| | |
|---|---|
| Files | 94 |
| Measured total | 41 MB |
| Years present | 1990, 2006 |
| Newest edition | 2006 |
| Coordinate system | JGD2000 / （B, L） |
| Geometry | 点 |
| Formats | GML (94) |

## Licence
Per file, resolved from the file's own year: 再配布できない 94.
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
- **属性情報** — 7 columns: `P02_001` 行政区域コード, `P02_002` 公共施設大分類, `P02_003` 公共施設小分類, `P02_004` 名称, `P02_005` 所在地, `P02_006` 管理者コード …

3 columns are coded, carrying a `ksj:codelist_href` into `../../codelists/`, where every value has a label.

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 = 'P02'
 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.
