{
 "generated_at": "2026-10-16T11:05:14+09:00",
 "data_through": {
  "crime": 2025,
  "accident": 2025
 },
 "source": [
  {
   "name": "山形県警察 犯罪オープンデータ",
   "publisher": "山形県警察",
   "url": "https://www.npa.go.jp/toukei/seianki/hanzaiopendatalink.html",
   "license": "CC BY 4.0",
   "note": "窃盗7手口。tokeilab が町丁目単位に集計・加工した"
  },
  {
   "name": "警察庁 交通事故統計情報のオープンデータ",
   "publisher": "警察庁",
   "url": "https://www.npa.go.jp/publications/statistics/koutsuu/opendata/index_opendata.html",
   "license": "公共データ利用規約 第1.0版（PDL1.0）。警察庁ウェブサイト利用規約に従い、編集・加工した旨を記載する",
   "note": "人身事故のみ。tokeilab が町丁目・50m格子に集計・加工した"
  },
  {
   "name": "e-Stat 国勢調査 2020年 小地域（町丁・字等）境界・人口",
   "publisher": "総務省統計局",
   "url": "https://www.e-stat.go.jp/gis/statmap-search?page=1&type=2&aggregateUnitForBoundary=A&toukeiCode=00200521&toukeiYear=2020",
   "license": "政府標準利用規約（第2.0版）。出典を明記し、加工した旨を記載する",
   "note": "町丁目の人口・世帯数・重心"
  }
 ],
 "license": "CC-BY-4.0",
 "license_notice": "CC BY 4.0, tokeilab。都道府県警察の犯罪オープンデータ、警察庁の交通事故統計情報のオープンデータ、警視庁の町丁別集計表、e-Stat 国勢調査を tokeilab が加工して作成。",
 "schema_url": "https://tokeilab.org/schema/safety/",
 "canonical_url": "https://tokeilab.org/safety/06322/",
 "language": "ja",
 "title": "山形県西川町の町丁目ごとの犯罪・事故の件数",
 "data": {
  "city_code": "06322",
  "city_name": "西川町",
  "pref_code": "06",
  "pref_name": "山形県",
  "population": 4956,
  "n_units": 17,
  "lat": 38.431666,
  "lon": 140.133172,
  "data_through": {
   "crime": 2025,
   "accident": 2025
  },
  "crime_years": [
   2018,
   2019,
   2020,
   2021,
   2022,
   2023,
   2024,
   2025
  ],
  "crime_totals": {
   "ひったくり": {
    "years": {
     "2018": 0,
     "2019": 0,
     "2020": 0,
     "2021": 0,
     "2022": 0,
     "2023": 0,
     "2024": 0,
     "2025": 0
    },
    "unassigned_share_latest": null
   },
   "車上ねらい": {
    "years": {
     "2018": 1,
     "2019": 0,
     "2020": 0,
     "2021": 0,
     "2022": 0,
     "2023": 1,
     "2024": 0,
     "2025": 0
    },
    "unassigned_share_latest": null
   },
   "部品ねらい": {
    "years": {
     "2018": 0,
     "2019": 0,
     "2020": 0,
     "2021": 0,
     "2022": 0,
     "2023": 0,
     "2024": 0,
     "2025": 0
    },
    "unassigned_share_latest": null
   },
   "自動販売機ねらい": {
    "years": {
     "2018": 0,
     "2019": 0,
     "2020": 0,
     "2021": 0,
     "2022": 0,
     "2023": 0,
     "2024": 0,
     "2025": 0
    },
    "unassigned_share_latest": null
   },
   "自動車盗": {
    "years": {
     "2018": 0,
     "2019": 0,
     "2020": 0,
     "2021": 0,
     "2022": 0,
     "2023": 0,
     "2024": 0,
     "2025": 0
    },
    "unassigned_share_latest": null
   },
   "オートバイ盗": {
    "years": {
     "2018": 0,
     "2019": 0,
     "2020": 0,
     "2021": 0,
     "2022": 0,
     "2023": 0,
     "2024": 0,
     "2025": 0
    },
    "unassigned_share_latest": null
   },
   "自転車盗": {
    "years": {
     "2018": 0,
     "2019": 0,
     "2020": 0,
     "2021": 0,
     "2022": 0,
     "2023": 0,
     "2024": 0,
     "2025": 0
    },
    "unassigned_share_latest": null
   }
  },
  "accident_totals": {
   "years": {
    "2019": {
     "accidents": 21,
     "deaths": 1,
     "injured": 26,
     "person_vs_vehicle": 1,
     "vehicle_vs_vehicle": 16,
     "single_vehicle": 4,
     "pedestrian": 1,
     "bicycle": 0,
     "night": 2
    },
    "2020": {
     "accidents": 10,
     "deaths": 0,
     "injured": 15,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 6,
     "single_vehicle": 4,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 2
    },
    "2021": {
     "accidents": 12,
     "deaths": 1,
     "injured": 15,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 10,
     "single_vehicle": 2,
     "pedestrian": 0,
     "bicycle": 1,
     "night": 0
    },
    "2022": {
     "accidents": 14,
     "deaths": 1,
     "injured": 20,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 14,
     "single_vehicle": 0,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 3
    },
    "2023": {
     "accidents": 9,
     "deaths": 1,
     "injured": 12,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 6,
     "single_vehicle": 3,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 3
    },
    "2024": {
     "accidents": 17,
     "deaths": 1,
     "injured": 22,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 14,
     "single_vehicle": 3,
     "pedestrian": 0,
     "bicycle": 1,
     "night": 3
    },
    "2025": {
     "accidents": 12,
     "deaths": 0,
     "injured": 18,
     "person_vs_vehicle": 1,
     "vehicle_vs_vehicle": 8,
     "single_vehicle": 3,
     "pedestrian": 1,
     "bicycle": 0,
     "night": 1
    }
   },
   "latest_provisional": true
  },
  "city_only": false,
  "tokyo": null,
  "n_units_pop": 3,
  "notes": [],
  "crime_types": [
   "ひったくり",
   "車上ねらい",
   "部品ねらい",
   "自動販売機ねらい",
   "自動車盗",
   "オートバイ盗",
   "自転車盗"
  ],
  "crime_columns": [
   "count_latest",
   "per_10k_latest",
   "rank_count",
   "rank_per_10k",
   "rank_shown",
   "change_2018_diff",
   "change_2018_ratio",
   "change_3y_diff",
   "change_3y_ratio",
   "evaluable"
  ],
  "ranks_note": "rank_count の母数は n_units、rank_per_10k の母数は n_units_pop。rank_shown=1 のときだけ順位を出す、evaluable=1 のときだけ増減を出す",
  "town_page_template": "https://tokeilab.org/safety/06322/<unit_code>/",
  "towns": [
   {
    "unit_code": "06322001001",
    "name": "大字睦合丙",
    "population": 399,
    "crime": {},
    "accidents_latest": 2,
    "accidents_total": 6
   },
   {
    "unit_code": "06322001002",
    "name": "大字睦合乙",
    "population": 63,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "06322001003",
    "name": "大字睦合甲、丙",
    "population": 281,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 2
   },
   {
    "unit_code": "063220020",
    "name": "大字海味",
    "population": 1221,
    "crime": {},
    "accidents_latest": 3,
    "accidents_total": 15
   },
   {
    "unit_code": "063220030",
    "name": "大字間沢",
    "population": 765,
    "crime": {},
    "accidents_latest": 1,
    "accidents_total": 7
   },
   {
    "unit_code": "063220040",
    "name": "大字綱取",
    "population": 131,
    "crime": {},
    "accidents_latest": 1,
    "accidents_total": 5
   },
   {
    "unit_code": "063220050",
    "name": "大字岩根沢",
    "population": 140,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "063220060",
    "name": "大字水沢",
    "population": 297,
    "crime": {},
    "accidents_latest": 2,
    "accidents_total": 7
   },
   {
    "unit_code": "063220070",
    "name": "大字吉川",
    "population": 862,
    "crime": {
     "車上ねらい": [
      0,
      0.0,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 4
   },
   {
    "unit_code": "063220080",
    "name": "大字原",
    "population": 84,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "063220090",
    "name": "大字沼山",
    "population": 252,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "063220100",
    "name": "大字入間",
    "population": 179,
    "crime": {
     "車上ねらい": [
      0,
      null,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "063220110",
    "name": "大字本道寺",
    "population": 21,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 4
   },
   {
    "unit_code": "063220120",
    "name": "大字月岡",
    "population": 34,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 2
   },
   {
    "unit_code": "063220130",
    "name": "大字月山沢",
    "population": 2,
    "crime": {},
    "accidents_latest": 1,
    "accidents_total": 10
   },
   {
    "unit_code": "063220140",
    "name": "大字志津",
    "population": 48,
    "crime": {},
    "accidents_latest": 1,
    "accidents_total": 21
   },
   {
    "unit_code": "063220150",
    "name": "大字大井沢",
    "population": 177,
    "crime": {},
    "accidents_latest": 1,
    "accidents_total": 8
   }
  ],
  "pref_url": "https://tokeilab.org/safety/06/",
  "map_url": "https://tokeilab.org/safety/map/?lat=38.431666&lon=140.133172&z=14"
 }
}