SPB Git

spb/earth-now Public License

earth-now.co — real-time planetary dashboard: live world metrics modeled, not streamed.

TypeScript 93% Shell 2.3% SQL 1.4% JavaScript 1.3% Dockerfile 1.2% CSS 0.8%
7.8 KB · 232 lines yaml
Raw Blame History
1# earth-now.co2# Author:  Simon-Pierre Boucher3# Contact: contact@spboucher.ai4# File:    packages/registry/metrics/economy.yaml5# Purpose: Economy & consumption metrics (catalog §9 🥈/🥉) — GDP, military spend, cars, smartphones, cement, steel, e-waste, clothing67metrics:8  - id: gdp_ytd9    name: { fr: "PIB mondial produit cette année", en: "World GDP produced this year" }10    domain: economy11    priority: v112    kind: cumulative13    level: 214    model: seasonal-ytd-v115    unit: usd16    sources:17      - id: imf_weo18        name: "FMI — World Economic Outlook"19        url: https://www.imf.org/en/Publications/WEO20        license: "IMF terms — citation required"21        licenseNote: "verify reuse terms before launch"22        cadence: "2×/year"23    refresh: on_source_update24    display:25      decimals: 026      sigFigs: 527      unit: { fr: "$ US", en: "US$" }28    constraints: { maxAbsRatePerSec: 10000000, maxJumpOnRefit: 500000000000 }29    windows: [today, ytd, session]30    editorialNote:31      fr: "PIB nominal (prévision FMI ~118 000 Md$ en 2026) réparti avec une légère saisonnalité T4."32      en: "Nominal GDP (IMF forecast ~$118 T in 2026) spread with a mild Q4 seasonality."3334  - id: military_spend_ytd35    name: { fr: "Dépenses militaires cette année", en: "Military spending this year" }36    domain: economy37    priority: v138    kind: cumulative39    level: 040    model: linear-ytd-v141    unit: usd42    sources:43      - id: sipri44        name: "SIPRI — Military Expenditure Database"45        url: https://www.sipri.org/databases/milex46        license: "SIPRI terms — citation required"47        licenseNote: "verify reuse terms before launch"48        cadence: yearly49    refresh: on_source_update50    display:51      decimals: 052      sigFigs: 453      unit: { fr: "$ US", en: "US$" }54    constraints: { maxAbsRatePerSec: 200000, maxJumpOnRefit: 20000000000 }55    windows: [today, ytd, session]5657  - id: cars_produced_ytd58    name: { fr: "Véhicules produits cette année", en: "Vehicles produced this year" }59    domain: economy60    priority: v161    kind: cumulative62    level: 163    model: seasonal-ytd-v164    unit: vehicles65    sources:66      - id: oica67        name: "OICA — Production Statistics"68        url: https://www.oica.net/production-statistics/69        license: "OICA — citation required"70        licenseNote: "verify reuse terms before launch"71        cadence: yearly72    refresh: on_source_update73    display:74      decimals: 075      sigFigs: 476      unit: { fr: "véhicules", en: "vehicles" }77    constraints: { maxAbsRatePerSec: 10, maxJumpOnRefit: 1000000 }78    windows: [ytd, today, session]7980  - id: smartphones_sold_ytd81    name: { fr: "Smartphones vendus cette année", en: "Smartphones sold this year" }82    domain: economy83    priority: v184    kind: cumulative85    level: 186    model: seasonal-ytd-v187    unit: units88    sources:89      - id: idc_counterpoint90        name: "IDC / Counterpoint Research"91        url: https://www.idc.com/92        license: "Market estimate — citation required"93        licenseNote: "verify reuse terms before launch"94        cadence: quarterly95    refresh: on_source_update96    display:97      decimals: 098      sigFigs: 499      unit: { fr: "unités", en: "units" }100    constraints: { maxAbsRatePerSec: 150, maxJumpOnRefit: 20000000 }101    windows: [ytd, today, session]102103  - id: cement_ytd104    name: { fr: "Ciment produit cette année", en: "Cement produced this year" }105    domain: economy106    priority: v1107    kind: cumulative108    level: 1109    model: seasonal-ytd-v1110    unit: t111    sources:112      - id: usgs_cement113        name: "USGS — Mineral Commodity Summaries (Cement)"114        url: https://www.usgs.gov/centers/national-minerals-information-center/cement-statistics-and-information115        license: "US Government public domain"116        cadence: yearly117    refresh: on_source_update118    display:119      decimals: 0120      sigFigs: 4121      unit: { fr: "tonnes", en: "tonnes" }122    constraints: { maxAbsRatePerSec: 400, maxJumpOnRefit: 20000000 }123    windows: [ytd, today, session]124125  - id: steel_ytd126    name: { fr: "Acier produit cette année", en: "Steel produced this year" }127    domain: economy128    priority: v1129    kind: cumulative130    level: 1131    model: seasonal-ytd-v1132    unit: t133    sources:134      - id: worldsteel135        name: "worldsteel — Monthly crude steel production"136        url: https://worldsteel.org/data/137        license: "worldsteel — citation required"138        licenseNote: "verify reuse terms before launch"139        cadence: monthly140    refresh: on_source_update141    display:142      decimals: 0143      sigFigs: 4144      unit: { fr: "tonnes", en: "tonnes" }145    constraints: { maxAbsRatePerSec: 200, maxJumpOnRefit: 10000000 }146    windows: [ytd, today, session]147148  - id: ewaste_ytd149    name: { fr: "E-déchets générés cette année", en: "E-waste generated this year" }150    domain: economy151    priority: v1152    kind: cumulative153    level: 0154    model: linear-ytd-v1155    unit: t156    sources:157      - id: gem_ewaste158        name: "Global E-waste Monitor (UNITAR/ITU)"159        url: https://ewastemonitor.info/160        license: "Report — citation required"161        licenseNote: "verify reuse terms before launch"162        cadence: "~2 years"163    refresh: on_source_update164    display:165      decimals: 0166      sigFigs: 4167      unit: { fr: "tonnes", en: "tonnes" }168    constraints: { maxAbsRatePerSec: 10, maxJumpOnRefit: 2000000 }169    windows: [ytd, today, session]170    uncertaintyFraction: 0.15171    editorialNote:172      fr: "Estimation Global E-waste Monitor (~65 Mt/an) — intervalle affiché."173      en: "Global E-waste Monitor estimate (~65 Mt/yr) — interval displayed."174175  - id: clothes_produced_ytd176    name: { fr: "Vêtements produits cette année", en: "Garments produced this year" }177    domain: economy178    priority: v1179    kind: cumulative180    level: 0181    model: linear-ytd-v1182    unit: units183    sources:184      - id: ellen_macarthur185        name: "Ellen MacArthur Foundation / McKinsey (textile)"186        url: https://www.ellenmacarthurfoundation.org/topics/fashion/overview187        license: "Report estimate — citation required"188        licenseNote: "verify reuse terms before launch"189        cadence: occasional190    refresh: on_source_update191    display:192      decimals: 0193      sigFigs: 3194      unit: { fr: "vêtements", en: "garments" }195    constraints: { maxAbsRatePerSec: 10000, maxJumpOnRefit: 5000000000 }196    windows: [ytd, today, session]197    uncertaintyFraction: 0.3198    editorialNote:199      fr: "Estimation à très large intervalle (~120 Md de pièces/an) — mention « estimation » obligatoire."200      en: "Very wide-interval estimate (~120 B garments/yr) — 'estimate' label mandatory."201202  - id: military_school_meals203    name:204      fr: "Repas scolaires équivalents aux dépenses militaires"205      en: "School meals equivalent of military spending"206    domain: economy207    priority: v1208    kind: derived209    level: derived210    model: derived211    unit: meals212    sources:213      - id: sipri_wfp214        name: "Juxtaposition SIPRI ÷ PAM (~0,25 $ par repas scolaire)"215        url: https://www.wfp.org/school-meals216        license: "Derived juxtaposition — cite SIPRI and WFP"217        licenseNote: "verify WFP cost-per-meal figure before launch"218        cadence: yearly219    refresh: on_source_update220    display:221      decimals: 0222      sigFigs: 4223      unit: { fr: "repas", en: "meals" }224    windows: [today, session, ytd]225    derived:226      op: linear-combination227      inputs: [{ id: military_spend_ytd, weight: 4.0 }]228    uncertaintyFraction: 0.3229    editorialNote:230      fr: "Juxtaposition assumée (signature éditoriale) : chaque dollar militaire = ~4 repas scolaires du PAM. Ordre de grandeur, intervalle affiché."231      en: "Deliberate juxtaposition (editorial signature): every military dollar = ~4 WFP school meals. Order of magnitude, interval displayed."232