This appears to be the only way to make data access in eggs actually work, and is why the Platinum sprites are in pokedex/ too.
Includes a wrapper script 'pokedex' that can, so far, read data from a db and spit out CSVs or deploy CSVs to a db.