ポケモン剣盾のランクバトルの集計データをウェブ上から取得し、表示しやすいように整形するプログラムです。
詳細についてはこちらの記事をお読みください。
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.
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ファイルをresources
とoutput
に出力します
Running
$ python main.py [-d Boolean]
コマンドライン引数-d
にFalse
を指定すると、ファイルのダウンロードを行わないようにできます。デフォルトで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.
ポケモン剣盾のランクバトルデータを解析してTableau上で可視化してみた - Qiita をご覧ください。
Please refer to Pokémon Sword Shield Ranked Battle Data Analyzed and Visualized on Tableau - Qiita.
MIT