Skip to content

Instantly share code, notes, and snippets.

Articolo di Borruso su file database del PNRR

Ok, immagina che l'articolo ti parli di come puoi usare un piccolo "magazzino" digitale per scoprire un sacco di cose sul PNRR, il Piano Nazionale di Ripresa e Resilienza.

Cos'è il PNRR?

Il PNRR è un piano del governo italiano per spendere un sacco di soldi (circa 200 miliardi!) per migliorare l'Italia dopo la pandemia. Questi soldi vanno a finanziare tanti progetti diversi, come la digitalizzazione, la transizione ecologica, la scuola, la sanità e le infrastrutture.

Il problema: i dati del PNRR sono difficili da usare

We can't make this file beautiful and searchable because it's too large.
Estrazione del 2025-01-06
idImpianto;Gestore;Bandiera;Tipo Impianto;Nome Impianto;Indirizzo;Comune;Provincia;Latitudine;Longitudine
52829;ERRA NICOLA;Api-Ip;Stradale;;;NULL;NULL;40.7160385;14.9413282
59183;ENIMOOV S.P.A.;Agip Eni;Stradale;19829 AGRIGENTO;SS.189 KM. 64+649 - C.DA SAN MICHELE S.N.C ;AGRIGENTO;AG;37.333935;13.595533
23778;ALFONSO DI BENEDETTO CARBURANTI LUBRIFICANTI SRL;Sicilpetroli;Stradale;A. Di Benedetto srl Via Imera Ag;VIA IMERA SN 92100, AGRIGENTO (AG) 10 92100;AGRIGENTO;AG;37.312390927445705;13.58591309570079
49195;EOS SERVICES S.R.L. A SOCIO UNICO;Q8;Stradale;AG021;VIA PETRARCA S.N. 92100;AGRIGENTO;AG;37.29823424642592;13.589792251586909
49460;EOS SERVICES S.R.L. A SOCIO UNICO;Q8;Stradale;AG023;CONTRADA FONTANELLE S.N. 92100;AGRIGENTO;AG;37.32612049037331;13.591820001602168
49459;EOS SERVICES S.R.L. A SOCIO UNICO;Q8;Stradale;AG024;VILLAGGIO MOSE' S.N.C. 92100;AGRIGENTO;AG;37.274323998719915;13.61422437766179
49199;EOS SERVICES S.R.L. A SOCIO UNICO;Q8;Stradale;AG025;VIA L. SCIASCIA S.N.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Link List</title>
</head>
<body>
<ul>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub File Changes RSS Feed Bookmarklet</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
line-height: 1.6;
#!/bin/bash
shot-scraper -o nelson_click.png 'https://www.corriere.it' --javascript "document.querySelector('footer button#privacy-cp-wall-accept').click();"
shot-scraper -h 2300 'https://www.corriere.it' -o nelson_hide.png --javascript "document.querySelectorAll('.privacy-cp-wall').forEach(el => el.style.display = 'none')"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
DEN_REGIONE OC_TEMA_SINTETICO finanziamento_totale num_progetti_totale num_progetti_eseguiti percentuale_conclusi
VENETO Inclusione sociale e salute 362395807.1999994 3742 3396 90.75360769641902
MOLISE Ambiente 199383361.85000008 191 11 5.7591623036649215
EMILIA-ROMAGNA Ambiente 93057977.115 170 28 16.470588235294116
UMBRIA Inclusione sociale e salute 106998760.20499998 554 300 54.151624548736464
LIGURIA Inclusione sociale e salute 161306629.36000016 1580 1227 77.65822784810126
FRIULI-VENEZIA GIULIA Ambiente 85524387.36999999 79 3 3.7974683544303796
CALABRIA Inclusione sociale e salute 628911299.3999983 1757 300 17.07455890722823
SICILIA Inclusione sociale e salute 1124070325.910001 2283 538 23.565484012264566
LAZIO Inclusione sociale e salute 761980825.4100002 2296 1276 55.57491289198606
#!/bin/bash
# Requirements:
# - scrape-cli: https://pypi.org/project/scrape-cli/
# - yq: https://github.com/kislyuk/yq
# - miller: https://github.com/johnkerl/miller
# Script to scrape movie ratings and details from "https://www.mymovies.it/cinema/palermo/"
curl -kL "https://www.mymovies.it/cinema/palermo/" |
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xml:base="http://bdap-opendata.rgs.mef.gov.it/Proxy.svc/">
<title type="text">2-'6c0df564-f95d-4d48-9a39-b70146131722@rgs'</title>
<id>http://bdap-opendata.rgs.mef.gov.it/Proxy.svc/MdData('6c0df564-f95d-4d48-9a39-b70146131722@rgs')/DataRows</id>
<updated>2024-11-13T13:19:13Z</updated>
<link rel="self" title="2-'6c0df564-f95d-4d48-9a39-b70146131722@rgs'" href="2-'6c0df564-f95d-4d48-9a39-b70146131722@rgs'"></link>
<m:count>0</m:count>
<entry>