<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>u_ribo</author_name>
  <author_url>https://blog.hatena.ne.jp/u_ribo/</author_url>
  <blog_title>cucumber flesh</blog_title>
  <blog_url>https://uribo.hatenablog.com/</blog_url>
  <categories>
    <anon>sf</anon>
    <anon>purrr</anon>
    <anon>tidyr</anon>
    <anon>jpndistrict</anon>
  </categories>
  <description>前回の記事で、市区町村に分割されているポリゴンを都道府県単位に結合する処理を紹介しました。 uribo.hatenablog.com 今日はその続編として、今度は区ごとにポリゴンが分かれている「政令指定都市」を一つの市として扱えるようにしてみようと思います。これは、例えば市町村単位のデータと市区町村のポリゴンを紐づけようとする際、つまりデータ間で政令指定都市の扱いが異なる時に役立つtipsです。 なお、ポリゴンの方が細かい、すなわち政令指定都市が「区」に分かれていて紐づけるデータの方が「市」であることを想定しています。 20180913追記✍️ ポリゴンに不備がない場合には、group_by(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Furibo.hatenablog.com%2Fentry%2F2018%2F09%2F05%2F231642&quot; title=&quot;市区町村ポリゴンの中から区だけを結合する - cucumber flesh&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/u/u_ribo/20180905/20180905230624.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-09-05 23:16:42</published>
  <title>市区町村ポリゴンの中から区だけを結合する</title>
  <type>rich</type>
  <url>https://uribo.hatenablog.com/entry/2018/09/05/231642</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
