As in golemworldbank: one line per indicator, in the colors of the Country Comparison, named with its unit in the legend, at the top of the plot. The axis takes the unit when all the indicators share it. An indicator without values for the country is left out.
Arguments
- data
Data frames from
get_indicator(), one per indicator, named by itsid.- country
Eurostat code of the country, such as "EL", or "EU27_2020".
- indicators
The
ids of the indicators inindicators().
Examples
data <- list(
unemployment = saved_indicator("unemployment"),
youth_unemployment = saved_indicator("youth_unemployment")
)
plot_indicator_comp(data, "EL", names(data))