Skip to contents

Data Pull functions

get_mpx_cases() get_mpx_deaths()
Pull MPOX Case and Death Data
get_global_denoms()
Update Global Population Denominators

Visualizations

Maps

mpx_case_choro()
Standard MPX Global Choropleth
gddoc_map_theme()
A sort-of standard map theme

Tables

mpx_table_cases()
Top 10 Table Summaries
mpx_table_newcases()
Top 10 Table Summaries

Data

global_map
Global Map Shapefile
endemic_countries
Monkeypox Endemic Countries
global_denoms
Global Population Denominators

Misc

spoConnection
An R6 Class to interface CDC Sharepoint sites
chunk()
Oneliner that splits a vector (x) into n chunks helpful for string formatting when we have discrete text we want to avoid splitting
cut_pretty_labels()
A thin wrapper around Hmisc::cut2 which relabels the output labels using a format string
cut_relabel()
Relabel bins from cut2 nicely for plotting NOTE: Assumes Hmisc::cut2(., oneval=FALSE)