{
 "generated_at": "2026-10-17T00:37:28+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": "町丁目の人口・世帯数・重心"
  },
  {
   "name": "e-Stat 令和2年国勢調査 従業地・通学地による人口・就業状態等集計 第1-1表（昼間人口）",
   "publisher": "総務省統計局",
   "url": "https://www.e-stat.go.jp/stat-search/file-download?statInfId=000032214141&fileKind=0",
   "license": "政府標準利用規約（第2.0版）準拠（CC BY 4.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/06361/",
 "language": "ja",
 "title": "山形県金山町の全国治安指数と犯罪・事故の件数",
 "data": {
  "city_code": "06361",
  "city_name": "金山町",
  "pref_code": "06",
  "pref_name": "山形県",
  "population": 5071,
  "n_units": 36,
  "lat": 38.88215,
  "lon": 140.338905,
  "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": 0,
     "2019": 0,
     "2020": 2,
     "2021": 0,
     "2022": 2,
     "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
   },
   "自転車盗": {
    "years": {
     "2018": 0,
     "2019": 0,
     "2020": 0,
     "2021": 0,
     "2022": 0,
     "2023": 0,
     "2024": 1,
     "2025": 0
    },
    "unassigned_share_latest": null
   }
  },
  "accident_totals": {
   "years": {
    "2019": {
     "accidents": 7,
     "deaths": 0,
     "injured": 9,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 6,
     "single_vehicle": 1,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 1
    },
    "2020": {
     "accidents": 6,
     "deaths": 0,
     "injured": 8,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 4,
     "single_vehicle": 2,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 0
    },
    "2021": {
     "accidents": 8,
     "deaths": 0,
     "injured": 9,
     "person_vs_vehicle": 1,
     "vehicle_vs_vehicle": 7,
     "single_vehicle": 0,
     "pedestrian": 1,
     "bicycle": 0,
     "night": 2
    },
    "2022": {
     "accidents": 7,
     "deaths": 1,
     "injured": 9,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 6,
     "single_vehicle": 1,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 2
    },
    "2023": {
     "accidents": 8,
     "deaths": 0,
     "injured": 13,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 8,
     "single_vehicle": 0,
     "pedestrian": 0,
     "bicycle": 1,
     "night": 3
    },
    "2024": {
     "accidents": 12,
     "deaths": 0,
     "injured": 13,
     "person_vs_vehicle": 1,
     "vehicle_vs_vehicle": 8,
     "single_vehicle": 3,
     "pedestrian": 1,
     "bicycle": 1,
     "night": 2
    },
    "2025": {
     "accidents": 9,
     "deaths": 0,
     "injured": 10,
     "person_vs_vehicle": 1,
     "vehicle_vs_vehicle": 7,
     "single_vehicle": 1,
     "pedestrian": 1,
     "bicycle": 0,
     "night": 3
    }
   },
   "latest_provisional": true
  },
  "city_only": false,
  "tokyo": null,
  "n_units_pop": 1,
  "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/06361/<unit_code>/",
  "index": {
   "score": 87,
   "reason": null,
   "crime_position": 95,
   "accident_position": 42,
   "crime_rate_10k": 0.7,
   "accident_rate_10k": 25.8,
   "crime_last_year": 2025,
   "accident_last_year": 2025,
   "window_years": 3,
   "n_scored": 1753,
   "size_adjusted": false,
   "denominator_population": 4648,
   "night_population": 5071,
   "day_population": 4226
  },
  "index_caveat": "窃盗の7種類（ひったくり・車上ねらい・部品ねらい・自動販売機ねらい・自動車盗・オートバイ盗・自転車盗）と人身事故の、人口あたりの件数から計算した指数です。暴行・傷害・性犯罪・詐欺などは含まれず、治安のすべてを表すものではありません。人口の多い都市の町は件数が多くなりやすく、点数が低く出る傾向があります。市区町村の点数は、昼間に人が多く集まる所に配慮して、夜間人口と昼間人口の平均で計算しています。",
  "index_reading": "index.score は 0〜100（高いほど人口あたりの件数が少ない側。全国の中での位置で、市区町村は夜間人口と昼間人口の平均で割った値）。null のときは index.reason（population_small | no_crime_data）。towns[].idx は町丁目の同じ指数（null は点数なし）",
  "towns": [
   {
    "unit_code": "06361001001",
    "name": "大字金山十日町",
    "population": 400,
    "crime": {},
    "accidents_latest": 1,
    "accidents_total": 4,
    "idx": null,
    "name_arabic": "大字金山十日町"
   },
   {
    "unit_code": "06361001002",
    "name": "大字金山羽場",
    "population": 398,
    "crime": {},
    "accidents_latest": 1,
    "accidents_total": 5,
    "idx": null,
    "name_arabic": "大字金山羽場"
   },
   {
    "unit_code": "06361001003",
    "name": "大字金山七日町",
    "population": 863,
    "crime": {},
    "accidents_latest": 4,
    "accidents_total": 9,
    "idx": null,
    "name_arabic": "大字金山七日町"
   },
   {
    "unit_code": "06361001004",
    "name": "大字金山内町",
    "population": 195,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字金山内町"
   },
   {
    "unit_code": "06361001006",
    "name": "大字金山荒屋",
    "population": 247,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字金山荒屋"
   },
   {
    "unit_code": "06361001007",
    "name": "大字金山三枝",
    "population": 6,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字金山三枝"
   },
   {
    "unit_code": "06361001013",
    "name": "大字金山田茂沢",
    "population": 90,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "大字金山田茂沢"
   },
   {
    "unit_code": "06361001014",
    "name": "大字金山蒲沢",
    "population": 66,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字金山蒲沢"
   },
   {
    "unit_code": "06361001015",
    "name": "大字金山魚清水",
    "population": 56,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "大字金山魚清水"
   },
   {
    "unit_code": "06361001028",
    "name": "大字金山飛森",
    "population": 22,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字金山飛森"
   },
   {
    "unit_code": "06361002005",
    "name": "大字山崎山崎",
    "population": 250,
    "crime": {},
    "accidents_latest": 1,
    "accidents_total": 12,
    "idx": null,
    "name_arabic": "大字山崎山崎"
   },
   {
    "unit_code": "06361002007",
    "name": "大字山崎三枝",
    "population": 236,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "大字山崎三枝"
   },
   {
    "unit_code": "063610030",
    "name": "大字上台",
    "population": 216,
    "crime": {
     "車上ねらい": [
      0,
      null,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 4,
    "idx": null,
    "name_arabic": "大字上台"
   },
   {
    "unit_code": "06361004009",
    "name": "大字下野明下野明",
    "population": 150,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 3,
    "idx": null,
    "name_arabic": "大字下野明下野明"
   },
   {
    "unit_code": "06361004010",
    "name": "大字下野明楢台",
    "population": 174,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字下野明楢台"
   },
   {
    "unit_code": "06361004011",
    "name": "大字下野明片貝",
    "population": 153,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字下野明片貝"
   },
   {
    "unit_code": "063610050",
    "name": "大字安沢",
    "population": 194,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字安沢"
   },
   {
    "unit_code": "06361006016",
    "name": "大字有屋稲沢",
    "population": 227,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 2,
    "idx": null,
    "name_arabic": "大字有屋稲沢"
   },
   {
    "unit_code": "06361006017",
    "name": "大字有屋宮",
    "population": 55,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字有屋宮"
   },
   {
    "unit_code": "06361006018",
    "name": "大字有屋柳原",
    "population": 117,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字有屋柳原"
   },
   {
    "unit_code": "06361006019",
    "name": "大字有屋下向",
    "population": 98,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字有屋下向"
   },
   {
    "unit_code": "06361006020",
    "name": "大字有屋入有屋",
    "population": 69,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字有屋入有屋"
   },
   {
    "unit_code": "06361006021",
    "name": "大字有屋有屋",
    "population": 0,
    "crime": {},
    "accidents_latest": 2,
    "accidents_total": 10,
    "idx": null,
    "name_arabic": "大字有屋有屋"
   },
   {
    "unit_code": "06361007021",
    "name": "大字中田杉沢",
    "population": 27,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字中田杉沢"
   },
   {
    "unit_code": "06361007022",
    "name": "大字中田外沢",
    "population": 36,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字中田外沢"
   },
   {
    "unit_code": "06361007023",
    "name": "大字中田上中田",
    "population": 44,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字中田上中田"
   },
   {
    "unit_code": "06361007024",
    "name": "大字中田下中田",
    "population": 85,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字中田下中田"
   },
   {
    "unit_code": "06361007025",
    "name": "大字中田小蝉",
    "population": 52,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字中田小蝉"
   },
   {
    "unit_code": "063610080",
    "name": "大字漆野",
    "population": 29,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "大字漆野"
   },
   {
    "unit_code": "063610090",
    "name": "大字谷口銀山",
    "population": 71,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字谷口銀山"
   },
   {
    "unit_code": "06361010026",
    "name": "大字飛森漆野",
    "population": 23,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字飛森漆野"
   },
   {
    "unit_code": "06361010027",
    "name": "大字飛森谷口",
    "population": 49,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "大字飛森谷口"
   },
   {
    "unit_code": "06361010028",
    "name": "大字飛森飛森",
    "population": 76,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "大字飛森飛森"
   },
   {
    "unit_code": "06361011029",
    "name": "大字朴山朴山",
    "population": 144,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字朴山朴山"
   },
   {
    "unit_code": "06361011030",
    "name": "大字朴山板橋",
    "population": 126,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 2,
    "idx": null,
    "name_arabic": "大字朴山板橋"
   },
   {
    "unit_code": "06361011031",
    "name": "大字朴山長野",
    "population": 27,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "大字朴山長野"
   }
  ],
  "pref_url": "https://tokeilab.org/safety/06/",
  "map_url": "https://tokeilab.org/safety/map/?lat=38.88215&lon=140.338905&z=14"
 }
}