# AGENTS.md — 交通流動量 貨物・旅客地域流動量データ (S05-d)
18 files, 15 MB, 2001–2018.

## Before you download
| | |
|---|---|
| Files | 18 |
| Measured total | 15 MB |
| Years present | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 |
| Newest edition | 2018 |
| Coordinate system | JGD2011 / （B, L） |
| Geometry | 面、線 |
| Formats | GML (17) |

## Licence
Per file, resolved from the file's own year: 再配布できる 18.
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
- **PassengerRegionFlow.shp** — 16 columns: `S05d_044` 調査年度, `S05d_045` 発_ゾーンコード, `S05d_046` 着_ゾーンコード, `S05d_047` JR定期旅客数, `S05d_048` JR定期外旅客数, `S05d_049` JR合計旅客数 …
- **CargoRegionFlow.shp** — 43 columns: `S05d_001` 調査年度, `S05d_002` 発_ゾーンコード, `S05d_003` 着_ゾーンコード, `S05d_004` 全機関_農水産品トン数, `S05d_005` 全機関_林産品トン数, `S05d_006` 全機関_鉱産品トン数 …

2 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 = 'S05-d'
 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.
