emergenzehack / covid19italia_api Goto Github PK
View Code? Open in Web Editor NEWThe api of covid19italia dataset
License: MIT License
The api of covid19italia dataset
License: MIT License
Aggiungere un reports/geo per prelevare tutte le segnalazioni in formato geojson.
Una ottimizzazione abbastanza facile da fare potrebbe essere quella di creare nell'altro repository un json dei reports contenente solo la parte di issuesjson.json che interessa, cioè reports = [d['issue']['data'] for d in data]
.
Questo porterebbe a scaricare, parsare, tenere in memoria meno della metà circa dei 3.70MB del json attuale. E semplificherebbe un minimo tutte le viste dei reports.
Se non è possibile farlo alla sorgente si potrebbe fare anche in questo ma converrebbe farlo dopo aver implementato anche le altre api che magari hanno bisogno di altri parti di quel file.
Da inserire un GET reports/date in modo da prendere tutti i report dopo una certa data.
Dietro credenziali prevederei l'import di dati nel formato JSON https://raw.githubusercontent.com/emergenzeHack/covid19italia_data/master/issuesjson.json ma anche nei rispettivi GEOJSON e CSV. Può essere utile per importing di molti dati. nel campo labels potremmo mettere "api" mettere vuoto il campo body "" e non so che altro.
Potrebbe essere necessario creare una tabella di esempio per fare l'import...tipo in google sheet oppure un file CSV.
Aggiungere nel GET dei reports per Keyword tutti i campi (non solo Descrizione)
Aggiungere un get issues/label in modo da prelevare gli issue per categoria.
Va previsto query tipo /reports/Provincia/Roma in modo che si possa vedere solo i dati di Roma (ad esempio) -> http://127.0.0.1:5000/reports/Provincia/Roma
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.