Spaces:
Sleeping
Sleeping
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,113 +1,82 @@
|
|
| 1 |
---
|
| 2 |
-
title: Global
|
| 3 |
emoji: 🌍
|
| 4 |
colorFrom: blue
|
| 5 |
-
colorTo:
|
| 6 |
sdk: streamlit
|
| 7 |
sdk_version: 1.28.0
|
| 8 |
-
app_file:
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
-
# 🌍 Global
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
##
|
| 18 |
-
|
| 19 |
-
###
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
- **
|
| 25 |
-
- **
|
| 26 |
-
- **
|
| 27 |
-
- **
|
| 28 |
-
|
| 29 |
-
###
|
| 30 |
-
- **
|
| 31 |
-
- **
|
| 32 |
-
- **
|
| 33 |
-
- **
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
-
|
| 38 |
-
-
|
| 39 |
-
-
|
| 40 |
-
-
|
| 41 |
-
-
|
| 42 |
-
|
| 43 |
-
##
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
- **
|
| 47 |
-
- **
|
| 48 |
-
- **
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
##
|
| 68 |
-
|
| 69 |
-
- **
|
| 70 |
-
- **
|
| 71 |
-
- **
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
- **
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
- **
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
- **Auth**: Ingen
|
| 84 |
-
|
| 85 |
-
### Världsbanken
|
| 86 |
-
- **Endpoints**: Indikatorer, länderdata
|
| 87 |
-
- **Format**: JSON/XML/CSV
|
| 88 |
-
- **Rate limit**: Ingen
|
| 89 |
-
- **Auth**: Ingen
|
| 90 |
-
|
| 91 |
-
### Riksbanken
|
| 92 |
-
- **Endpoints**: Valutakurser, räntor
|
| 93 |
-
- **Format**: JSON/XML/CSV
|
| 94 |
-
- **Rate limit**: Ingen
|
| 95 |
-
- **Auth**: Ingen
|
| 96 |
-
|
| 97 |
-
### CSN
|
| 98 |
-
- **Endpoints**: Studiestöd via PX-Web
|
| 99 |
-
- **Format**: JSON/XML/CSV
|
| 100 |
-
- **Rate limit**: Ingen
|
| 101 |
-
- **Auth**: Ingen
|
| 102 |
-
|
| 103 |
-
## Kontinuerlig datahämtning
|
| 104 |
-
|
| 105 |
-
Aktivera "Kontinuerlig datahämtning" för att:
|
| 106 |
-
- Automatiskt hämta data med konfigurerbart intervall (10-300 sekunder)
|
| 107 |
-
- Bygga tidsserier av data
|
| 108 |
-
- Övervaka förändringar i realtid
|
| 109 |
-
- Spara all hämtningshistorik
|
| 110 |
-
|
| 111 |
-
## Licens
|
| 112 |
-
|
| 113 |
-
MIT License - följ respektive API:s användarvillkor.
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Global Data Harvester
|
| 3 |
emoji: 🌍
|
| 4 |
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: streamlit
|
| 7 |
sdk_version: 1.28.0
|
| 8 |
+
app_file: app_modern.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# 🌍 Global Data Harvester
|
| 14 |
+
|
| 15 |
+
Modern, minimalist web application for intelligent data collection from 10 international sources with real-time processing and beautiful visualizations.
|
| 16 |
+
|
| 17 |
+
## ✨ Features
|
| 18 |
+
|
| 19 |
+
### 🌍 **10 Data Sources** - Verified API endpoints based on 2024 documentation
|
| 20 |
+
- 🇸🇪 **Swedish Government**: Skolverket, SCB, Kolada, Riksbanken, Swecris, CSN
|
| 21 |
+
- 🌍 **International**: Eurostat, WHO, OECD, World Bank
|
| 22 |
+
|
| 23 |
+
### 🎯 **Modern Interface**
|
| 24 |
+
- **Minimalist Design** - Clean, gradient interface with glass morphism
|
| 25 |
+
- **Real-time Metrics** - Live status indicators and progress tracking
|
| 26 |
+
- **Interactive Cards** - Hover effects and modern UI components
|
| 27 |
+
- **Responsive Layout** - Works perfectly on all devices
|
| 28 |
+
|
| 29 |
+
### 🚀 **Smart Features**
|
| 30 |
+
- **One-click Bulk Fetch** - Collect from all APIs simultaneously
|
| 31 |
+
- **Auto-deduplication** - SHA256 hashing prevents duplicate data
|
| 32 |
+
- **Rate Limiting** - Automatic compliance (SCB: 10 req/10 sec)
|
| 33 |
+
- **Error Handling** - Graceful failures with detailed reporting
|
| 34 |
+
- **Real-time Visualization** - Plotly charts and interactive graphs
|
| 35 |
+
|
| 36 |
+
### 🔧 **Technical Implementation**
|
| 37 |
+
- **Modern Python Stack** - Streamlit, Plotly, Pandas, Requests
|
| 38 |
+
- **SQLite Database** - Lightweight, embedded data storage
|
| 39 |
+
- **Async Processing** - Non-blocking data collection
|
| 40 |
+
- **API Authentication** - Secure handling of tokens (Swecris)
|
| 41 |
+
- **Format Support** - JSON, XML, SDMX, PX-Web, HAL+JSON
|
| 42 |
+
|
| 43 |
+
## 📊 **API Details**
|
| 44 |
+
|
| 45 |
+
### Swedish Sources
|
| 46 |
+
- **Skolverket**: Education data, school units, curricula (HAL+JSON)
|
| 47 |
+
- **SCB**: Population, economy statistics (Rate limit: 10/10 sec)
|
| 48 |
+
- **Kolada**: Municipal KPIs and regional data
|
| 49 |
+
- **Riksbanken**: Exchange rates, interest rates (EUR/SEK, USD/SEK)
|
| 50 |
+
- **Swecris**: Research projects (Bearer token auth)
|
| 51 |
+
- **CSN**: Student aid statistics (PX-Web format)
|
| 52 |
+
|
| 53 |
+
### International Sources
|
| 54 |
+
- **Eurostat**: EU statistics (JSON-stat 2.0 format)
|
| 55 |
+
- **WHO**: Global health indicators (GHO API)
|
| 56 |
+
- **OECD**: Economic indicators (SDMX format)
|
| 57 |
+
- **World Bank**: Development data (JSON format, v2 API)
|
| 58 |
+
|
| 59 |
+
## 🚀 **Usage**
|
| 60 |
+
|
| 61 |
+
1. **Individual Fetch** - Click any API card to fetch data from that source
|
| 62 |
+
2. **Bulk Collection** - Use "Fetch All APIs" for comprehensive data gathering
|
| 63 |
+
3. **Real-time Monitoring** - Watch live metrics and progress indicators
|
| 64 |
+
4. **Data Preview** - Explore fetched data with interactive tables
|
| 65 |
+
5. **Export & Analysis** - Download results in JSON format
|
| 66 |
+
|
| 67 |
+
## 🎨 **Modern Design**
|
| 68 |
+
|
| 69 |
+
- **Glass Morphism** - Translucent cards with backdrop blur
|
| 70 |
+
- **Gradient Backgrounds** - Beautiful blue-to-purple gradients
|
| 71 |
+
- **Status Indicators** - Color-coded API health monitoring
|
| 72 |
+
- **Smooth Animations** - CSS transitions and hover effects
|
| 73 |
+
- **Responsive Grid** - Adaptive layout for all screen sizes
|
| 74 |
+
|
| 75 |
+
## 📈 **Data Visualization**
|
| 76 |
+
|
| 77 |
+
- **Success Rate Pie Charts** - Visual fetch status overview
|
| 78 |
+
- **Records Bar Charts** - Compare data volume by API
|
| 79 |
+
- **Real-time Metrics** - Live updating counters and indicators
|
| 80 |
+
- **Interactive Tables** - Sortable, filterable data preview
|
| 81 |
+
|
| 82 |
+
Built with modern web technologies for a seamless user experience.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|