-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e36fc2
commit 16fe1b9
Showing
1 changed file
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,20 @@ | ||
# elezioni liguria | ||
una repo inizializzata per estrarre dati delle elezioni in liguria | ||
# Elezioni API Scraper | ||
|
||
## Descrizione | ||
Questo codice utilizza un'API non documentata del sito dell'Interno italiano contenente i dati sulle elezioni. È attualmente impostato per estrarre i codici identificativi dei comuni nella regione Liguria e per ricostruire gli URL contenenti i dati scorporati per comune. | ||
|
||
## Funzionalità | ||
- Estrae i codici dei comuni in Liguria. | ||
- Costruisce URL specifici per ogni comune per recuperare i dati elettorali. | ||
- Recupera e salva i dati delle elezioni in un file CSV. | ||
|
||
## Requisiti | ||
- Python 3.x | ||
- Pandas | ||
- Requests | ||
|
||
### Installazione delle dipendenze | ||
Puoi installare le dipendenze richieste usando pip: | ||
|
||
```bash | ||
pip install pandas requests |