Skip to contents

Pipeline

Core functions for computing QCI from GBD data

qci_pipeline()
Run the complete QCI pipeline
qci_load()
Load GBD CSV data
qci_clean()
Clean and filter GBD data for QCI computation
qci_ratios()
Calculate QCI component ratios
qci_pca()
Compute QCI scores via PCA
qci_gdr()
Calculate Gender Disparity Ratio (GDR)

Visualization

Publication-ready plots and maps

plot_qci_map()
Create a choropleth map of QCI scores
plot_gdr_map()
Create a choropleth map of Gender Disparity Ratio
plot_qci_trend()
Plot QCI trends over time
plot_qci_distribution()
Plot QCI score distributions by sex
plot_qci_scatter()
Scatter plot of Male vs Female QCI by region

Utilities

Helper and export functions

merge_location_type()
Merge with location type metadata
qci_export_csv()
Export QCI results to CSV
qci_export_dta()
Export QCI results to Stata DTA format

Data

Bundled datasets

sample_gbd
Sample GBD export data
location_type
Location type metadata