Skip to contents

Missingness plot of the indicator data

Usage

plot_missing(wdi_data, index = NULL, group_var)

Arguments

wdi_data

A data frame of the indicator data generated by get_wdi_data

index

An optional character string specifying the indicator code Defaults to NULL

group_var

A grouping variable in the WDI data set (e.g., "region" or "income")

Value

A plot that provides a structured overview of missing data and shows its distribution over time, across countries, and by the specified grouping variable.

Examples

plot_missing(pm_data, group_var = "region")