Skip to content

moxak/pokemon-rankbattle-data-transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokemon Rankbattle Data Transformer

GitHub

概要 / Overview

ポケモン剣盾のランクバトルの集計データをウェブ上から取得し、表示しやすいように整形するプログラムです。

詳細についてはこちらの記事をお読みください。

This is a program that retrieves the aggregate data of Pokémon sword and shield ranked battles from the web and formats it for easy display.

使い方 / Usage

0. Python(version >= 3.7)が入っていない場合、

If you don't install Python (version >= 3.7), you will use

$ sudo apt-get install python3.7

もしくは、Python.orgから落としてインストールしてください。またpipのpathが通っている状態にしてください。

Or, you will download python from Python.org and install it. Make sure your pip path is running.

1. プログラムの動作に必要となるパッケージをインストールします。

Install the packages that you need to run the program.

$ pip install -r requirements.txt

requirements.txtに記載されているファイルは以下の通りです。バージョンは問いませんので、既にインストールされている場合はスキップしてください。

The files listed in requirements.txt are as follows. It does not matter what version you have, if you have already installed it, skip it.

###### Requirements without Version Specifiers ######
pandas
scikit-learn
tqdm
urllib3

2. 以下を実行して整形されたcsvファイルをresourcesoutputに出力します

Running

$ python main.py [-d Boolean]

コマンドライン引数-dFalseを指定すると、ファイルのダウンロードを行わないようにできます。デフォルトでTrueとなっていいるのでダウンロードを行いたくない場合のみ指定してください。

If the command line argument -d is set to False, you can disable the download of the file. It is set to True by default, so specify it only if you do not want to download the file.

出力されたファイルの利用法 / How to use the output file

gif

ポケモン剣盾のランクバトルデータを解析してTableau上で可視化してみた - Qiita をご覧ください。

Please refer to Pokémon Sword Shield Ranked Battle Data Analyzed and Visualized on Tableau - Qiita.

License

MIT


moxak Github @moxak Twitter @moxak_

About

A program that uses API to acquire the ranked battle data of the Pokémon sword shield and format it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages