stats step 2: World Bank, IMF WEO, OWID, Energy-Charts, Rijksfinanciën, US Treasury, USAspending collectors + tables, timers
All checks were successful
Deploy production / deploy (push) Successful in 1m10s
All checks were successful
Deploy production / deploy (push) Successful in 1m10s
This commit is contained in:
@@ -9,6 +9,13 @@ statistics (no API keys) into the `stats` schema with `scripts/stats-fetch.ts`:
|
||||
| `eurostat` | `stats-eurostat.timer` | Mondays 06:20 | Eurostat JSON-stat datasets (energy prices, yields, HICP, government finance…) |
|
||||
| `fred` | `stats-fred.timer` | daily 07:20 | FRED graph CSV (Brent, TTF, Fed, Treasuries, US energy prices, indices) |
|
||||
| `bis` | `stats-bis.timer` | daily 07:50 | BIS central bank policy rates, monthly + daily |
|
||||
| `worldbank` | `stats-worldbank.timer` | Mondays 04:15 | World Bank WDI indicators for the compared countries |
|
||||
| `imf` | `stats-imf.timer` | 1st of the month 04:05 | IMF WEO (DataMapper), stored per WEO vintage with forecast flags |
|
||||
| `owid` | `stats-owid.timer` | 2nd of the month 04:35 | Our World in Data: Maddison GDP per capita, energy dataset |
|
||||
| `energycharts` | `stats-energycharts.timer` | hourly at :19 | Energy-Charts NL day-ahead prices + cross-border flows (last 3 days; `--backfill` from 2015) |
|
||||
| `rijksfinancien` | `stats-rijksfinancien.timer` | 3rd of the month 05:05 | Rijksfinanciën budget tables, last year to next year (`--backfill` from 2015) |
|
||||
| `ustreasury` | `stats-ustreasury.timer` | daily 23:25 | US Treasury MTS receipts/outlays + Debt to the Penny (last 400 days; `--backfill` all) |
|
||||
| `usaspending` | `stats-usaspending.timer` | Sundays 06:10 | USAspending budgetary resources per agency and fiscal year |
|
||||
|
||||
Each timer starts `stats-collector@<source>.service`, which runs
|
||||
`~/.local/bin/stats-collector-run.sh <source>`: it updates a detached checkout of `origin/main`
|
||||
|
||||
11
deploy/stats-collector/stats-energycharts.timer
Normal file
11
deploy/stats-collector/stats-energycharts.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=/stats collector: Energy-Charts hourly at :19 (off ned-collector's :07/:37)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* *:19:00 Europe/Amsterdam
|
||||
RandomizedDelaySec=2min
|
||||
Persistent=true
|
||||
Unit=stats-collector@energycharts.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
11
deploy/stats-collector/stats-imf.timer
Normal file
11
deploy/stats-collector/stats-imf.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=/stats collector: IMF WEO monthly (new rounds in April and October)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-01 04:05:00 Europe/Amsterdam
|
||||
RandomizedDelaySec=10min
|
||||
Persistent=true
|
||||
Unit=stats-collector@imf.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
11
deploy/stats-collector/stats-owid.timer
Normal file
11
deploy/stats-collector/stats-owid.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=/stats collector: Our World in Data monthly (Maddison, energy dataset)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-02 04:35:00 Europe/Amsterdam
|
||||
RandomizedDelaySec=10min
|
||||
Persistent=true
|
||||
Unit=stats-collector@owid.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
11
deploy/stats-collector/stats-rijksfinancien.timer
Normal file
11
deploy/stats-collector/stats-rijksfinancien.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=/stats collector: Rijksfinanciën monthly (budget tables)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-03 05:05:00 Europe/Amsterdam
|
||||
RandomizedDelaySec=10min
|
||||
Persistent=true
|
||||
Unit=stats-collector@rijksfinancien.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
11
deploy/stats-collector/stats-usaspending.timer
Normal file
11
deploy/stats-collector/stats-usaspending.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=/stats collector: USAspending weekly (Sunday)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=Sun *-*-* 06:10:00 Europe/Amsterdam
|
||||
RandomizedDelaySec=10min
|
||||
Persistent=true
|
||||
Unit=stats-collector@usaspending.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
11
deploy/stats-collector/stats-ustreasury.timer
Normal file
11
deploy/stats-collector/stats-ustreasury.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=/stats collector: US Treasury Fiscal Data daily (after the US afternoon release)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 23:25:00 Europe/Amsterdam
|
||||
RandomizedDelaySec=10min
|
||||
Persistent=true
|
||||
Unit=stats-collector@ustreasury.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
11
deploy/stats-collector/stats-worldbank.timer
Normal file
11
deploy/stats-collector/stats-worldbank.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=/stats collector: World Bank WDI weekly (Monday)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=Mon *-*-* 04:15:00 Europe/Amsterdam
|
||||
RandomizedDelaySec=10min
|
||||
Persistent=true
|
||||
Unit=stats-collector@worldbank.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user