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

## Before you download
| | |
|---|---|
| Files | 168 |
| Measured total | 2.1 GB |
| Years present | 2024 |
| Newest edition | 2024 |
| Geometry | 基準地域メッシュ（第３次地域区画） |
| 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.

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