# AGENTS.md — 500mメッシュ別将来推計人口データ（R6国政局推計） (mesh500r6)
168 files, 5.2 GB, 2024.

## Before you download
| | |
|---|---|
| Files | 168 |
| Measured total | 5.2 GB |
| Years present | 2024 |
| Newest edition | 2024 |
| Geometry | 分割地域メッシュ（2分の1地域メッシュ） |
| Formats | GML (56), Shapefile (56), GeoJSON (56) |

## Licence
Per file, resolved from the file's own year: 再配布できる 168.
The Collection's own `license` is `CC-BY-4.0`; 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
- **属性情報** — 37 columns: `MESH_ID` 分割地域メッシュコード, `SHICODE` 行政区域コード, `PTN_2020` 2020年男女計総数人口, `HITOKU_20XX` 20XX年秘匿記号, `GASSAN_20XX` 20XX年合算先メッシュ, `PTN_20XX` 20XX年男女計総数人口（秘匿なし） …

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.

## Often used with
- `../P11/collection.json` — バス停の徒歩圏（300〜500m）に将来どれだけ人が住むか
- `../N07/collection.json` — 路線沿線の将来人口を見る
- `../P04/collection.json` — 医療機関からの距離圏に将来どれだけ人が住むか
- `../P29/collection.json` — 学校区の将来児童数を見積もる

These pairs are an editorial judgement, not upstream metadata: they carry `ksj:editorial: true`. The list is not exhaustive, and a combination missing from it is not a combination that was rejected.

## 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 = 'mesh500r6'
 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.
