wb_plot: wb_plot: showing plots for World Bank data

Description Usage Arguments Author(s) See Also Examples

View source: R/wb_plot.R

Description

Displays a line plot for each indicator. There are two possible usage:

Usage

1
wb_plot(countries, indicators, dataset)

Arguments

countries

Vector of strings. It must include the ISO Alpha-2 code of the countries of interest.

indicators

Vector of strings. It must include the ID of the indicators from "The World Bank" datasets.

dataset

Data frame. It is recommended to create one using wb_tidy in order to avoid possible errors.

Author(s)

Sergio Picascia sergio.picascia@studenti.unimi.it

See Also

wb_tidy

Examples

1
2
3
4
5
6
wb_plot(countries = "IT", indicators = c("NY.GDP.MKTP.CD", "SP.DYN.LE00.IN"))

## Not run: 
wb_plot(dataset = my_data)

## End(Not run)

unimi-dse/8cf2b84a documentation built on Feb. 17, 2020, 5:02 a.m.