Depot — Local data store
The Depot module manages the Scratch-backed local snapshots used by the taxonomy validation functions. Access via the full namespace:
using PaleobiologyDB.Depot
# List all registered stores and their status
PaleobiologyDB.Depot.list()
# Metadata for a specific store
PaleobiologyDB.Depot.info(:pbdb_taxa)
# Force re-download of a snapshot
PaleobiologyDB.Depot.refresh!(:pbdb_taxa)
# Delete the local snapshot (will be re-downloaded on next use)
PaleobiologyDB.Depot.delete!(:pbdb_taxa)PaleobiologyDB.Depot — Module
PaleobiologyDB.DepotManagement interface for Scratch-backed local data stores (snapshots).
Access via the full namespace PaleobiologyDB.Depot.*.
Functions
Depot.list()— list metadata for all registered storesDepot.info(:pbdb_taxa)— metadata for a specific storeDepot.refresh!(:pbdb_taxa)— force re-downloadDepot.delete!(:pbdb_taxa)— remove the local snapshot
Example
PaleobiologyDB.Depot.list()
PaleobiologyDB.Depot.info(:pbdb_taxa)
PaleobiologyDB.Depot.refresh!(:pbdb_taxa)
PaleobiologyDB.Depot.delete!(:pbdb_taxa)