Skip to contents

Download data

Verbs to download data to disk (e.g., from websites).

download_hbc()
TB High-Burden Countries data from WHO
download_wb() read_wb() tidy_wb()
Data from World Bank
download_who() read_who() tidy_who()
Data from WHO

Load data

Verbs to load and manage data on disk.

dxgap_master_list
Data dictionary
build_tbl()
Load all data for a disease into a single wide table
import_tbl()
Read and tidy any individual table
read_gf_procurement() tidy_gf_procurement()
Data from Global Fund
download_wb() read_wb() tidy_wb()
Data from World Bank
download_who() read_who() tidy_who()
Data from WHO

Clean data

Verbs to clean and transform data ready for analysis.

Analyse data

Verbs to analyse data.

compute_correlation()
Compute correlations with a target variable
compute_completion_rate()
Compute completion rate
compute_dx_gap()
Compute the diagnostic gap
get_mod_preproc()
Get pre-processing recipes
pull_mod_rank() pull_mod_best() pull_mod_coeff() pull_mod_fit() pull_mod_coeff_all()
Helpers to work out run_mod_lm()'s output
render_bulk()
Render templates across multiple years
render_report()
Render a template report
run_mod_lm()
Run a suite of statistical models

Helpers

view_templates()
List available templates
extract_vars()
Extract supported variables from dxgap_diseases meta table