{
 "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/01361/",
 "language": "ja",
 "title": "北海道江差町の町丁目ごとの犯罪・事故の件数",
 "data": {
  "city_code": "01361",
  "city_name": "江差町",
  "pref_code": "01",
  "pref_name": "北海道",
  "population": 7428,
  "n_units": 37,
  "lat": 41.879817,
  "lon": 140.143356,
  "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": 0,
     "2021": 1,
     "2022": 0,
     "2023": 2,
     "2024": 0,
     "2025": 0
    },
    "unassigned_share_latest": null
   },
   "部品ねらい": {
    "years": {
     "2018": 1,
     "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
   },
   "オートバイ盗": {
    "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": 1,
     "2020": 0,
     "2021": 0,
     "2022": 0,
     "2023": 1,
     "2024": 1,
     "2025": 0
    },
    "unassigned_share_latest": null
   }
  },
  "accident_totals": {
   "years": {
    "2019": {
     "accidents": 2,
     "deaths": 0,
     "injured": 3,
     "person_vs_vehicle": 1,
     "vehicle_vs_vehicle": 1,
     "single_vehicle": 0,
     "pedestrian": 1,
     "bicycle": 0,
     "night": 0
    },
    "2020": {
     "accidents": 5,
     "deaths": 0,
     "injured": 6,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 3,
     "single_vehicle": 2,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 2
    },
    "2021": {
     "accidents": 4,
     "deaths": 1,
     "injured": 4,
     "person_vs_vehicle": 1,
     "vehicle_vs_vehicle": 3,
     "single_vehicle": 0,
     "pedestrian": 1,
     "bicycle": 0,
     "night": 1
    },
    "2022": {
     "accidents": 3,
     "deaths": 0,
     "injured": 5,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 3,
     "single_vehicle": 0,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 0
    },
    "2023": {
     "accidents": 1,
     "deaths": 0,
     "injured": 1,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 1,
     "single_vehicle": 0,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 0
    },
    "2024": {
     "accidents": 2,
     "deaths": 0,
     "injured": 2,
     "person_vs_vehicle": 2,
     "vehicle_vs_vehicle": 0,
     "single_vehicle": 0,
     "pedestrian": 2,
     "bicycle": 0,
     "night": 1
    },
    "2025": {
     "accidents": 2,
     "deaths": 0,
     "injured": 2,
     "person_vs_vehicle": 1,
     "vehicle_vs_vehicle": 1,
     "single_vehicle": 0,
     "pedestrian": 1,
     "bicycle": 0,
     "night": 0
    }
   },
   "latest_provisional": true
  },
  "city_only": false,
  "tokyo": null,
  "n_units_pop": 4,
  "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/01361/<unit_code>/",
  "towns": [
   {
    "unit_code": "013610010",
    "name": "字新栄町",
    "population": 266,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610020",
    "name": "字愛宕町",
    "population": 165,
    "crime": {
     "自転車盗": [
      0,
      null,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610030",
    "name": "字豊川町",
    "population": 564,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610040",
    "name": "字東山",
    "population": 21,
    "crime": {
     "車上ねらい": [
      0,
      null,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610050",
    "name": "字桧岱",
    "population": 54,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610060",
    "name": "字中歌町",
    "population": 273,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610070",
    "name": "字姥神町",
    "population": 117,
    "crime": {
     "車上ねらい": [
      0,
      null,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 2
   },
   {
    "unit_code": "013610080",
    "name": "字鴎島",
    "population": 4,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610090",
    "name": "字津花町",
    "population": 157,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610100",
    "name": "字上野町",
    "population": 109,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610110",
    "name": "字橋本町",
    "population": 117,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610120",
    "name": "字本町",
    "population": 236,
    "crime": {
     "車上ねらい": [
      0,
      null,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610130",
    "name": "字新地町",
    "population": 116,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 2
   },
   {
    "unit_code": "013610140",
    "name": "字緑丘",
    "population": 81,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610150",
    "name": "字茂尻町",
    "population": 341,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "013610160",
    "name": "字円山",
    "population": 586,
    "crime": {
     "自転車盗": [
      0,
      0.0,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 1,
    "accidents_total": 1
   },
   {
    "unit_code": "013610170",
    "name": "字陣屋町",
    "population": 491,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610180",
    "name": "字海岸町",
    "population": 36,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610190",
    "name": "字南浜町",
    "population": 323,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610200",
    "name": "字柏町",
    "population": 218,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "013610210",
    "name": "字南が丘",
    "population": 628,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610220",
    "name": "字萩ノ岱",
    "population": 5,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610230",
    "name": "字砂川",
    "population": 22,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "013610240",
    "name": "字椴川町",
    "population": 52,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610250",
    "name": "字大澗町",
    "population": 69,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610260",
    "name": "字泊町",
    "population": 105,
    "crime": {
     "自動車盗": [
      0,
      null,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610270",
    "name": "字尾山町",
    "population": 301,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 2
   },
   {
    "unit_code": "013610280",
    "name": "字田沢町",
    "population": 207,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "013610290",
    "name": "字伏木戸町",
    "population": 352,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 4
   },
   {
    "unit_code": "013610300",
    "name": "字柳崎町",
    "population": 576,
    "crime": {},
    "accidents_latest": 1,
    "accidents_total": 3
   },
   {
    "unit_code": "013610310",
    "name": "字五厘沢町",
    "population": 17,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610320",
    "name": "字水堀町",
    "population": 368,
    "crime": {
     "自転車盗": [
      0,
      null,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ],
     "部品ねらい": [
      0,
      null,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610330",
    "name": "字越前町",
    "population": 99,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610340",
    "name": "字中網町",
    "population": 52,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610350",
    "name": "字小黒部町",
    "population": 142,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "013610360",
    "name": "字朝日町",
    "population": 74,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "013610370",
    "name": "字鰔川町",
    "population": 84,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   }
  ],
  "pref_url": "https://tokeilab.org/safety/01/",
  "map_url": "https://tokeilab.org/safety/map/?lat=41.879817&lon=140.143356&z=14"
 }
}