The hosted snapshot does not hold this data
- Type
https://pyeconomics.dev/problems/not-in-snapshot- HTTP status
- 404
- Exit code
- 7 (data unavailable)
- Raised as
SnapshotMissingError
What it means
The hosted service reads every series from a daily snapshot of the sources it may serve, and never asks a source itself. The snapshot does not hold this series, this parameter value or this vintage.
What to do
Run it locally, where every source you can access is read: the detail gives the command. To ask for a series the hosted service should hold, open an issue on GitHub.
On your own machine, put the inputs in a JSON file and run:
pyeconomics data get <series-or-concept>Every pyeconomics surface reports a failure as a problem in the form of RFC 9457: its type, title, HTTP status and detail, and the exit code the command line returns. A problem never holds a key, a file path, a host or an upstream URL. Every problem type.