Data Freshness¶
Working with an agent?
Ask Claude how current your data is and it runs the check below for every portal in your account, then tells you which ones are lagging. See Getting Started With Agents.
Data is collected from each storefront once per day.
The portals table carries a latest_date column holding the most recent date
we have data for, per portal, platform and region combination. Check it before
running an analysis so you know how current the numbers are, and where a portal
is lagging:
Check how current each portal is
from dda_sdk import DuckDBClient, PortalsSchema
with DuckDBClient() as client:
portals = client.query(PortalsSchema, "SELECT * FROM portals")
print(portals.select(["display_portal", "region", "latest_date"]).sort("latest_date"))
If you need more frequent collection, talk to your IndieBI contact.