![logo](https://private-user-images.githubusercontent.com/66846949/281904098-2cbfe684-a173-42dd-8bfc-c579438ceab3.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyOTMzODIsIm5iZiI6MTcyMDI5MzA4MiwicGF0aCI6Ii82Njg0Njk0OS8yODE5MDQwOTgtMmNiZmU2ODQtYTE3My00MmRkLThiZmMtYzU3OTQzOGNlYWIzLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA2VDE5MTEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAxMzQ5OGM0YjQ2YjYzMDJmODIyOWIyNjdmYjQyNzAyZjEyNjdhNTZiZjQxYTE1NDcyNTExMmNmODNjNDE3YTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.UwOuU5g_5UUSqB5Fo2Dh7E9avsRmqinaVtbEZ2Vv1qQ)
medbr is a computational package for visualizing public health data in Brazil in geospatial format. The package includes a geospatial data functions available with variable parameters to obtain a geospatial visualization of the data.
The package is currently available in Python. (Arrumar links)
Python | Repo |
---|---|
pip install medbr
Windows users:
conda create -n geo_env
conda activate geo_env
conda config --env --add channels conda-forge
conda config --env --set channel_priority strict
conda install python=3 geopandas
conda install python=3 folium
pip install medbr
The syntax of all medbr
functions operates on the same logic, making it intuitive to generate views. See some examples here.
Function | Group | Description | Source |
---|---|---|---|
medbr.facilities(cidade, type) |
Health Infrastructure | National Registry of Health Establishments (CNES). You can parameterize the city (default: Brazil) and the type of establishment (default: all) | CNES |
medbr.beds(state) |
Health Infrastructure | Plots the locations with hospital beds (2023) and their quantities. You can parameterize the state (default: Brazil) | Open Data Portal |
medbr.heatmap.covid(city, date initial, date final) |
COVID | Plot the heat map for the COVID vaccination campaign. Being able to parameterize the city (default: Brazil) and the time interval (default: the entire base) | Open Data Portal |
medbr.heatmap.vaccine.covid(city, date initial, date final, brand) |
COVID | Plot the heat map for the COVID vaccination campaign. Being able to parameterize the vaccine brand, the city (default: Brazil) and the time interval (default: the entire base) | Open Data Portal |
medbr.heatmap.vaccine.fm(city, date initial, date final, sex) |
COVID | Plot the heat map for the COVID vaccination campaign. Being able to parameterize the gender (female or male), the city (default: Brazil) and the time interval (default: the entire base) | Open Data Portal |
medbr.mortality(state, date initial, date final) |
Population Health | Plots the intensity map by city for the mortality rate. Being able to parameterize the state (default: Brazil) and the time interval (default: the entire base) | Open Data Portal |
medbr.birth(state, date initial, date final) |
Population Health | Plot the intensity map by city for the birth rate. Being able to parameterize the state (default: Brazil) and the time interval (default: the entire base) | Open Data Portal |
medbr.sanitation(state, illness) |
Population Health | Plots the intensity map by city for the National Basic Sanitation Survey (PNSB). Being able to parameterize the state (default: Brazil) and the type of disease affected (default: all) | Open Data Portal |
medbr.plancoverage(state, provider) |
Complementary Health | Plots the cities where the providers have coverage. Parameterize the state (default: Brazil) and the provider (default: all) | Open Data Portal |
medbr.beneficiaries(state, provider) |
Complementary Health | Plot the intensity map by city according to the concentration of beneficiaries. Parameterize the state (default: Brazil) and the provider (default: all) | Open Data Portal |
If you would like to contribute to medbr and add new functions or data sets, please check this guide to propose your contribution.