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.