<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>k_mawa</author_name>
  <author_url>https://blog.hatena.ne.jp/k_mawa/</author_url>
  <blog_title>MawaLog</blog_title>
  <blog_url>https://k-mawa.hateblo.jp/</blog_url>
  <categories>
    <anon>スクレイピング</anon>
    <anon>Python</anon>
    <anon>統計学/データサイエンス</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>RESASというデータセットがあり利用が無料ぽいので試してみた その2 今度は、csvファイルに落とし込むまでを記録したので実用に近づいたと思われる。 resas.go.jp 今回は県別の従業員数をcsvファイルにするまでを目標とします。 opendata.resas-portal.go.jp 今回もまずpythonのスクレイピングモジュールで有名なもののひとつ、requestsでやってみました。 &gt;&gt;&gt;import requests &gt;&gt;&gt;BASE_API_END_POINT = &quot;https://opendata.resas-portal.go.jp/&quot; &gt;&gt;&gt;TARGET_URL = &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fk-mawa.hateblo.jp%2Fentry%2F2017%2F10%2F14%2F231040&quot; title=&quot;RESASというデータセットのAPIをPythonでいじってみたときのメモ2 - MawaLog&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/k/k_mawa/20171014/20171014230235.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-10-14 23:10:40</published>
  <title>RESASというデータセットのAPIをPythonでいじってみたときのメモ2</title>
  <type>rich</type>
  <url>https://k-mawa.hateblo.jp/entry/2017/10/14/231040</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
