For the entire world, Europe (for European countries tend to be smaller) and states within the US.

pubs_per_capita(
  pubs,
  zoom = c("world", "europe", "usa"),
  plot = c("choropleth", "bar"),
  label_states = TRUE
)

Arguments

pubs

A data frame with one row per publication and columns country and for the US, also a column "state/province".

zoom

Whether to plot the world map or only Europe (centered on Western Europe and some Eastern European countries are partially cropped off) or only the US.

plot

Whether to plot choropleth or bar plot.

label_states

If plotting the US, whether to label the states.

Value

A ggplot2 object.