{
 "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/01482/",
 "language": "ja",
 "title": "北海道小平町の町丁目ごとの犯罪・事故の件数",
 "data": {
  "city_code": "01482",
  "city_name": "小平町",
  "pref_code": "01",
  "pref_name": "北海道",
  "population": 2994,
  "n_units": 25,
  "lat": 44.055661,
  "lon": 141.691011,
  "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": 0,
     "2022": 0,
     "2023": 1,
     "2024": 0,
     "2025": 1
    },
    "unassigned_share_latest": 0.0
   },
   "部品ねらい": {
    "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": 5,
     "deaths": 2,
     "injured": 3,
     "person_vs_vehicle": 1,
     "vehicle_vs_vehicle": 4,
     "single_vehicle": 0,
     "pedestrian": 1,
     "bicycle": 0,
     "night": 1
    },
    "2020": {
     "accidents": 1,
     "deaths": 0,
     "injured": 1,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 1,
     "single_vehicle": 0,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 1
    },
    "2021": {
     "accidents": 4,
     "deaths": 1,
     "injured": 3,
     "person_vs_vehicle": 1,
     "vehicle_vs_vehicle": 3,
     "single_vehicle": 0,
     "pedestrian": 1,
     "bicycle": 0,
     "night": 3
    },
    "2022": {
     "accidents": 4,
     "deaths": 0,
     "injured": 4,
     "person_vs_vehicle": 1,
     "vehicle_vs_vehicle": 3,
     "single_vehicle": 0,
     "pedestrian": 1,
     "bicycle": 0,
     "night": 1
    },
    "2023": {
     "accidents": 1,
     "deaths": 0,
     "injured": 2,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 1,
     "single_vehicle": 0,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 0
    },
    "2024": {
     "accidents": 5,
     "deaths": 0,
     "injured": 6,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 4,
     "single_vehicle": 1,
     "pedestrian": 1,
     "bicycle": 0,
     "night": 2
    },
    "2025": {
     "accidents": 1,
     "deaths": 1,
     "injured": 0,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 0,
     "single_vehicle": 1,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 0
    }
   },
   "latest_provisional": true
  },
  "city_only": false,
  "tokyo": null,
  "n_units_pop": 2,
  "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/01482/<unit_code>/",
  "towns": [
   {
    "unit_code": "014820010",
    "name": "字大椴",
    "population": 53,
    "crime": {},
    "accidents_latest": 1,
    "accidents_total": 1
   },
   {
    "unit_code": "014820020",
    "name": "字花岡",
    "population": 0,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "014820030",
    "name": "字小平町",
    "population": 1341,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 3
   },
   {
    "unit_code": "014820040",
    "name": "字臼谷",
    "population": 261,
    "crime": {
     "車上ねらい": [
      1,
      null,
      1,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "014820050",
    "name": "字豊浜",
    "population": 19,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "014820060",
    "name": "字千松",
    "population": 24,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "014820070",
    "name": "字元浜",
    "population": 31,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 2
   },
   {
    "unit_code": "014820080",
    "name": "字港町",
    "population": 507,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 3
   },
   {
    "unit_code": "014820090",
    "name": "字田代",
    "population": 224,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "014820100",
    "name": "字広富",
    "population": 64,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 3
   },
   {
    "unit_code": "014820110",
    "name": "字富岡",
    "population": 0,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "014820120",
    "name": "字寧楽",
    "population": 82,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "014820130",
    "name": "字住吉",
    "population": 40,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "014820140",
    "name": "字沖内",
    "population": 43,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "014820150",
    "name": "字平和",
    "population": 29,
    "crime": {
     "車上ねらい": [
      0,
      null,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "014820160",
    "name": "字富里",
    "population": 45,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "014820170",
    "name": "字本郷",
    "population": 88,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "014820180",
    "name": "字桑園",
    "population": 35,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "014820190",
    "name": "字岐富",
    "population": 0,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "014820200",
    "name": "字達布",
    "population": 67,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "014820210",
    "name": "字滝下",
    "population": 6,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "014820220",
    "name": "字豊平",
    "population": 17,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "014820230",
    "name": "字秀浦",
    "population": 1,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1
   },
   {
    "unit_code": "014820240",
    "name": "字菊岡",
    "population": 12,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   },
   {
    "unit_code": "014820250",
    "name": "字豊岡",
    "population": 5,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0
   }
  ],
  "pref_url": "https://tokeilab.org/safety/01/",
  "map_url": "https://tokeilab.org/safety/map/?lat=44.055661&lon=141.691011&z=14"
 }
}