6
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Pythonのfoliumで岩手県内の病院の場所を可視化してみる

Last updated at Posted at 2019-06-05

#この記事について
Pythonのfoliumモジュールを使って、岩手県の病院の位置情報を可視化してみる
完成図↓
 スクリーンショット 2019-06-05 10.07.33.png

#参照データ
岩手県の病院の一覧
https://www.med-info.pref.iwate.jp/pdf/meibo.pdf

病院毎の緯度・経度のcsv↓
https://github.com/koheikobayashi/open_jupyter/blob/master/iwate-hospital/latitude_and_longitute.csv

#コード

main.py
import pandas as pd 
import folium
from folium.plugins import FastMarkerCluster

lons = pd.read_csv('latitude_and_longitute.csv')  #参照データの病院毎の緯度・経度のcsvを使用
data = lons.values.tolist()

map1 = folium.Map(location=[39.250285, 141.636919], zoom_start=6.0)
FastMarkerCluster(data=data).add_to(map1)
map1.save("result.html")

完成したものはこちら

このデータの考察についてはてなブログに書いてみました

6
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?