feat: add ISPRA GHG emissions explorer page#201
Merged
Conversation
umbertocicciaa
marked this pull request as ready for review
July 12, 2026 21:46
1 task
Gabrymi93
approved these changes
Jul 13, 2026
Gabrymi93
left a comment
Member
There was a problem hiding this comment.
Review ok: loader verificato, lint/test/build passati localmente e check GitHub verde. Nota non bloccante: la PR body dice che observablehq.config.js non è toccato, ma il file è rigenerato in modo coerente dal build.
Contributor
Author
Grazie per avermelo fatto notare, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sintesi
Aggiunge il dataset
ispra_emissioni_ghg(già pubblicato in catalogo, mergemain@8b34bf7) al tema Territorio e ambiente e crea la pagina explorer curata: trend emissioni per settore (industrie energetiche, industrie manifatturiere, residenziale e servizi, trasporti) 1990-2023, mix settoriale sull'ultimo anno disponibile, serie storica del totale.Contesto collegato
Closes #164
Cosa cambia
Checklist nuovo dataset
src/data/ispra-emissioni-ghg.json.py— usa_util.load_dataset(), che internamente chiamasafe_connect()(nonduckdb.connect())src/dataset/ispra-emissioni-ghg.md— usaformat-utils.js(unit()); nessungeo-utils.jsperché il dataset non ha dimensione regionalesrc/data/themes.json.py(aggiuntoispra-emissioni-ghgaterritorio-ambiente);observablehq.config.jsnon toccato, sidebar auto-generatatitle,description,source,source_url,period,last_modified,dataset_slugpresentinpm run lintenpm test— non eseguiti in questo ambiente (nessun accesso anode_modules/npm registry qui); da eseguire in CI prima del mergeStandard check
toLocaleString— usatounit()daformat-utils.jstableFormateInputs.tablein celle separate —Inputs.tableè nella sua cella isolatabuildMapLookup()non applicabileduckdb.connect()— il loader usa_util.load_dataset()→safe_connect()themes.json.py,observablehq.config.jsnon modificatoVerifica
npm run lint npm test npm run buildChecklist PR
ispra_emissioni_ghg)Note per chi revisiona