Data Analysis¶
EpidBot provides powerful data analysis capabilities for Brazilian and international public health data, as well as your own uploaded datasets.
Supported Data Sources¶
Public Data¶
| Source | Description |
|---|---|
| SINAN | Disease notification (dengue, Zika, chikungunya, yellow fever, malaria, etc.) |
| SIM | Mortality information system |
| SINASC | Live birth information system |
| SIH/SIA | Hospital and outpatient information systems |
| WHO GHO | Global health indicators |
| World Bank | Health and development indicators |
| ECDC | European disease surveillance data |
| Mosqlimate | Brazilian climate and epidemiological data (InfoDengue, prediction models) |
| PAHO | Pan American Health Organization data |
| Malaria Atlas | Prevalence surveys, vector occurrence, raster surfaces, admin boundaries |
| Pathoplexus | Genomic sequence data |
User Datasets¶
Upload your own data files for private analysis. Supported formats: CSV, ODS, XLSX, GeoJSON, Shapefile (.zip), GeoPackage. See My Data for details.
Analysis Types¶
Temporal Analysis¶
Analyze trends over time:
Spatial Analysis¶
Geographic distribution:
Demographic Analysis¶
Population breakdowns:
Data Quality¶
Quality reports:
SQL Queries¶
For advanced users, direct SQL queries via DuckDB:
SELECT
ID_MUNICIP,
COUNT(*) as cases
FROM read_parquet('~/pysus/SINAN/DENG.parquet')
WHERE year = 2023
GROUP BY ID_MUNICIP
ORDER BY cases DESC
LIMIT 10
Filter Syntax¶
Filters use JSON format:
[
{"column": "year", "operator": "gte", "value": 2020},
{"column": "UF", "operator": "eq", "value": "SP"}
]
Operators:
| Operator | Description |
|---|---|
eq |
Equals |
ne |
Not equals |
gt |
Greater than |
gte |
Greater than or equal |
lt |
Less than |
lte |
Less than or equal |
in |
In list |
between |
Range |
like |
Pattern match |
is_null |
Is null |
is_not_null |
Is not null |
Export Options¶
Export query results to various formats:
Supported formats:
- CSV
- Excel (.xlsx)
- JSON
- Parquet
Visualization Types¶
Line Charts¶
Temporal trends:
Bar Charts¶
Comparisons:
Choropleth Maps¶
Geographic visualization:
Heatmaps¶
Multi-dimensional analysis:
Best Practices¶
- Download data first: Ensure data is available before analysis
- Check column names: Use
inspect_datasetto see available columns - Start simple: Begin with basic queries, then add complexity
- Verify results: Cross-check unexpected results with simpler queries
- Export important findings: Save valuable analysis results