- Install the Python libraries "mwparserfromhell", "bs4", and "requests". This is required to parse the wikicode.
- Create empty folders in the root of the project called "pkl", "wiki", "json", "sprites", "out" and "location"
- Put wikicode for Bulbapedia articles in the "wiki" directory
- Use
parseBulbapedia.pyinside a bash for loop to parse all files in the "wiki" directory - Create the directories "trainer" and "pokemon" inside the
pkldirectory - Move
*.trainer.pklto thetrainerdirectory, and*.pokemon.pklto thepokemondirectory
Once articles are parsed, use
{ while read region game; do python parseData.py $region $game > out/$region-$game; done } < locationList
to generate CSV files in the out directory
The final charts are available at https://jtstill.com/pokemonLevels/index.html