{
 "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/01514/",
 "language": "ja",
 "title": "北海道枝幸町の全国治安指数と犯罪・事故の件数",
 "data": {
  "city_code": "01514",
  "city_name": "枝幸町",
  "pref_code": "01",
  "pref_name": "北海道",
  "population": 7565,
  "n_units": 39,
  "lat": 44.889267,
  "lon": 142.572243,
  "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": 2,
     "2019": 0,
     "2020": 0,
     "2021": 0,
     "2022": 1,
     "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": 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": 1,
     "2023": 0,
     "2024": 0,
     "2025": 0
    },
    "unassigned_share_latest": null
   }
  },
  "accident_totals": {
   "years": {
    "2019": {
     "accidents": 4,
     "deaths": 1,
     "injured": 4,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 3,
     "single_vehicle": 1,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 1
    },
    "2020": {
     "accidents": 5,
     "deaths": 2,
     "injured": 4,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 3,
     "single_vehicle": 2,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 1
    },
    "2021": {
     "accidents": 8,
     "deaths": 2,
     "injured": 14,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 7,
     "single_vehicle": 1,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 2
    },
    "2022": {
     "accidents": 7,
     "deaths": 0,
     "injured": 11,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 5,
     "single_vehicle": 2,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 2
    },
    "2023": {
     "accidents": 10,
     "deaths": 0,
     "injured": 11,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 10,
     "single_vehicle": 0,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 1
    },
    "2024": {
     "accidents": 7,
     "deaths": 1,
     "injured": 6,
     "person_vs_vehicle": 1,
     "vehicle_vs_vehicle": 4,
     "single_vehicle": 2,
     "pedestrian": 1,
     "bicycle": 0,
     "night": 0
    },
    "2025": {
     "accidents": 2,
     "deaths": 0,
     "injured": 2,
     "person_vs_vehicle": 0,
     "vehicle_vs_vehicle": 2,
     "single_vehicle": 0,
     "pedestrian": 0,
     "bicycle": 0,
     "night": 1
    }
   },
   "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/01514/<unit_code>/",
  "index": {
   "score": 97,
   "reason": null,
   "crime_position": 95,
   "accident_position": 86,
   "crime_rate_10k": 0.9,
   "accident_rate_10k": 12.8,
   "crime_last_year": 2025,
   "accident_last_year": 2025,
   "window_years": 3,
   "n_scored": 1753,
   "size_adjusted": false,
   "denominator_population": 7540,
   "night_population": 7565,
   "day_population": 7516
  },
  "index_caveat": "窃盗の7種類（ひったくり・車上ねらい・部品ねらい・自動販売機ねらい・自動車盗・オートバイ盗・自転車盗）と人身事故の、人口あたりの件数から計算した指数です。暴行・傷害・性犯罪・詐欺などは含まれず、治安のすべてを表すものではありません。人口の多い都市の町は件数が多くなりやすく、点数が低く出る傾向があります。市区町村の点数は、昼間に人が多く集まる所に配慮して、夜間人口と昼間人口の平均で計算しています。",
  "index_reading": "index.score は 0〜100（高いほど人口あたりの件数が少ない側。全国の中での位置で、市区町村は夜間人口と昼間人口の平均で割った値）。null のときは index.reason（population_small | no_crime_data）。towns[].idx は町丁目の同じ指数（null は点数なし）",
  "towns": [
   {
    "unit_code": "015140010",
    "name": "幸町",
    "population": 575,
    "crime": {
     "自転車盗": [
      0,
      0.0,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ],
     "車上ねらい": [
      0,
      0.0,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "幸町"
   },
   {
    "unit_code": "015140020",
    "name": "梅ケ枝町",
    "population": 241,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "梅ケ枝町"
   },
   {
    "unit_code": "015140030",
    "name": "本町",
    "population": 353,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 2,
    "idx": null,
    "name_arabic": "本町"
   },
   {
    "unit_code": "015140040",
    "name": "栄町",
    "population": 588,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 3,
    "idx": null,
    "name_arabic": "栄町"
   },
   {
    "unit_code": "015140050",
    "name": "北栄町",
    "population": 393,
    "crime": {
     "車上ねらい": [
      0,
      null,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 1,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "北栄町"
   },
   {
    "unit_code": "015140060",
    "name": "岬町",
    "population": 126,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "岬町"
   },
   {
    "unit_code": "015140070",
    "name": "目梨泊",
    "population": 133,
    "crime": {},
    "accidents_latest": 1,
    "accidents_total": 2,
    "idx": null,
    "name_arabic": "目梨泊"
   },
   {
    "unit_code": "015140080",
    "name": "宇遠内",
    "population": 0,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "宇遠内"
   },
   {
    "unit_code": "015140090",
    "name": "徳志別",
    "population": 61,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "徳志別"
   },
   {
    "unit_code": "015140100",
    "name": "乙忠部",
    "population": 200,
    "crime": {
     "車上ねらい": [
      0,
      null,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "乙忠部"
   },
   {
    "unit_code": "015140110",
    "name": "風烈布",
    "population": 195,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 2,
    "idx": null,
    "name_arabic": "風烈布"
   },
   {
    "unit_code": "015140120",
    "name": "音標",
    "population": 353,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 2,
    "idx": null,
    "name_arabic": "音標"
   },
   {
    "unit_code": "015140130",
    "name": "北浜町",
    "population": 514,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "北浜町"
   },
   {
    "unit_code": "015140140",
    "name": "新港町",
    "population": 305,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "新港町"
   },
   {
    "unit_code": "015140150",
    "name": "北幸町",
    "population": 326,
    "crime": {
     "車上ねらい": [
      0,
      null,
      null,
      null,
      0,
      null,
      null,
      null,
      null,
      0
     ]
    },
    "accidents_latest": 0,
    "accidents_total": 2,
    "idx": null,
    "name_arabic": "北幸町"
   },
   {
    "unit_code": "015140160",
    "name": "三笠町",
    "population": 670,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "三笠町"
   },
   {
    "unit_code": "015140170",
    "name": "新栄町",
    "population": 469,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 4,
    "idx": null,
    "name_arabic": "新栄町"
   },
   {
    "unit_code": "015140180",
    "name": "南浜町",
    "population": 132,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 3,
    "idx": null,
    "name_arabic": "南浜町"
   },
   {
    "unit_code": "015140190",
    "name": "下幌別",
    "population": 11,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 5,
    "idx": null,
    "name_arabic": "下幌別"
   },
   {
    "unit_code": "015140200",
    "name": "問牧",
    "population": 87,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "問牧"
   },
   {
    "unit_code": "015140210",
    "name": "岡島",
    "population": 109,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 3,
    "idx": null,
    "name_arabic": "岡島"
   },
   {
    "unit_code": "015140220",
    "name": "山臼",
    "population": 199,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "山臼"
   },
   {
    "unit_code": "015140230",
    "name": "上音標",
    "population": 27,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "上音標"
   },
   {
    "unit_code": "015140240",
    "name": "歌登西町",
    "population": 309,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "歌登西町"
   },
   {
    "unit_code": "015140250",
    "name": "歌登東町",
    "population": 361,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "歌登東町"
   },
   {
    "unit_code": "015140260",
    "name": "歌登南町",
    "population": 282,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "歌登南町"
   },
   {
    "unit_code": "015140270",
    "name": "歌登毛登別",
    "population": 6,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "歌登毛登別"
   },
   {
    "unit_code": "015140280",
    "name": "歌登大曲",
    "population": 0,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "歌登大曲"
   },
   {
    "unit_code": "015140290",
    "name": "歌登西歌登",
    "population": 20,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "歌登西歌登"
   },
   {
    "unit_code": "015140300",
    "name": "歌登パンケナイ",
    "population": 21,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "歌登パンケナイ"
   },
   {
    "unit_code": "015140310",
    "name": "歌登桧垣町",
    "population": 261,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "歌登桧垣町"
   },
   {
    "unit_code": "015140320",
    "name": "歌登中央",
    "population": 48,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "歌登中央"
   },
   {
    "unit_code": "015140330",
    "name": "歌登本幌別",
    "population": 42,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "歌登本幌別"
   },
   {
    "unit_code": "015140340",
    "name": "歌登大奮",
    "population": 46,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "歌登大奮"
   },
   {
    "unit_code": "015140350",
    "name": "歌登上徳志別",
    "population": 11,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "歌登上徳志別"
   },
   {
    "unit_code": "015140360",
    "name": "歌登志美宇丹",
    "population": 37,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "歌登志美宇丹"
   },
   {
    "unit_code": "015140370",
    "name": "歌登豊沃",
    "population": 9,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "歌登豊沃"
   },
   {
    "unit_code": "015140380",
    "name": "歌登東歌登",
    "population": 32,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 1,
    "idx": null,
    "name_arabic": "歌登東歌登"
   },
   {
    "unit_code": "015140390",
    "name": "歌登辺毛内",
    "population": 13,
    "crime": {},
    "accidents_latest": 0,
    "accidents_total": 0,
    "idx": null,
    "name_arabic": "歌登辺毛内"
   }
  ],
  "pref_url": "https://tokeilab.org/safety/01/",
  "map_url": "https://tokeilab.org/safety/map/?lat=44.889267&lon=142.572243&z=14"
 }
}