fix: update readme

This commit is contained in:
mehbark 2025-04-01 12:42:11 -04:00
parent d8976638d3
commit e87753361d

View file

@ -1,9 +1,9 @@
# smogon stats
turn <https://smogon.com/stats/> chaos json files into [SQLite](https://sqlite.org) databases
you can find pre-generated dbs at <https://pyrope.net/mon/stats> (currently only 2025-02), and you can [fiddle](https://sqlite.org/fiddle) with them in your browser or on your own computer.
you can find pre-generated dbs at <https://pyrope.net/mon/stats>, and you can [fiddle](https://sqlite.org/fiddle) with them in your browser or on your own computer.
## examples
## examples (2025-02)
```sh
smogon-stats gen9ou-1500.json -o gen9ou-1500.sqlite
sqlite3 gen9ou-1500.sqlite -markdown "SELECT name, format('%.2f%%', usage * 100) as usage FROM mon WHERE mon.usage > 0.04 ORDER BY mon.usage DESC LIMIT 10"