fix: update readme
This commit is contained in:
parent
d8976638d3
commit
e87753361d
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
||||||
# smogon stats
|
# smogon stats
|
||||||
turn <https://smogon.com/stats/> chaos json files into [SQLite](https://sqlite.org) databases
|
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
|
```sh
|
||||||
smogon-stats gen9ou-1500.json -o gen9ou-1500.sqlite
|
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"
|
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"
|
||||||
|
|
Loading…
Reference in a new issue