Plot a WDI indicator

plot_dist_wdi_ggpdef(wdi_data, ind, facets, country, highlight, year, p = 1)

Arguments

wdi_data

data.frame as returned by latest_wdi

ind

variable in wdi_data to plot

facets

variable in wdi_data to use as facets (either region or income)

country

variable in wdi_data to use as country names

highlight

variable in wdi_data with the value of countries to highglight

year

variable in wdi_data with the value of the year for each point

p

Transformation exponent, <U+03BB>, as in scales::modulus_trans

Value

a ggplot2 object