Coder Social home page Coder Social logo

covid19-yamanashi-scraping's Introduction

covid19-yamanashi-scraping

What's this

covid-19に関する山梨県の公表済みのデータをスクレイピングにより取得するスクリプトです。

Specification of Scraping

Specification of Update

  • 当リポジトリのGitHub Actions
    • GitHub Actionsにより毎時実行し、データに更新がある場合、data.jsonを更新する
    • データに変更があった場合、対策サイトのGitHubリポジトリに対しdispatch eventを発生させる
  • dispatch先のリポジトリのGitHub Actions
    • dispatch eventを受信し、data.jsonを更新した上でpull requestを出す
    • マージ元のブランチはcreate-pull-request/patchという名称で生成され、defaultブランチへのマージを行う

How to run

Environment

  • python version ≥ 3.7

Set up command

$python -m pip install --upgrade pip

$pip install flake8 pytest pytest-cov "pytest-remotedata>=0.3.1"

$pip install -r requirements.txt

Run command

スクリプト実行

$python -m src

テスト実行

$pytest -v --cov=.

Where would it be used

Lisence

本ソフトウェアは、MITライセンスの元提供されています。

Reference

covid19-yamanashi-scraping's People

Contributors

daisuke19891023 avatar dependabot[bot] avatar

Stargazers

Tomachi avatar  avatar 雨蛙 avatar Yuuki Shimizu avatar

Watchers

 avatar  avatar 雨蛙 avatar

Forkers

amagaeru-dev

covid19-yamanashi-scraping's Issues

再陽性をカウントしないようロジックを変更したい

改善詳細 / Details of Improvement

期待する見せ方・挙動 / Expected behavior

  • 再陽性患者は「陽性患者数」および「陽性患者の属性」に入らないようにしたい

参照
covid19-yamanashi/covid19#54

PCR検査件数・電話相談件数・陽性者の状況のオープンデータ

PCR検査件数・電話相談件数・陽性者の状況のオープンデータで公開されています

新型コロナウイルスPCR検査件数
https://www.pref.yamanashi.jp/koucho/coronavirus/documents/pcr.xlsx

新型コロナウイルス電話相談件数
https://www.pref.yamanashi.jp/koucho/coronavirus/documents/soudan.xlsx

新型コロナウイルス陽性者の状況
https://www.pref.yamanashi.jp/koucho/coronavirus/documents/yousei.xlsx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.