One line per country, and the EU-27 average as a dashed gray line, for comparison. Titled "Indicator: " and its name, as in golemworldbank.
Arguments
- data
Data frame from
get_indicator().- countries
Eurostat codes of the countries, such as
c("EL", "BG").- indicator
The
idof the indicator inindicators(), for the title and the unit.
Examples
plot_country_comp(saved_indicator("unemployment"), c("EL", "BG"), "unemployment")