wb_tidy: wb_tidy: tidy World Bank dataset

Description Usage Arguments Value Author(s) See Also Examples

View source: R/wb_tidy.R

Description

Returns a data frame of the chosen indicators for the selected countries.

Usage

1
wb_tidy(countries, indicators)

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.

Value

This function returns a data.frame including columns:

Author(s)

Sergio Picascia sergio.picascia@studenti.unimi.it

See Also

WDIsearch, for indicators' ID.

Examples

1
2
3
wb_tidy(countries = "IT", indicators = "NY.GDP.MKTP.CD")

wb_tidy(countries = c("US", "CN", "RU"), indicators = c("SP.POP.TOTL", "SL.TLF.TOTL.IN", "NY.GDP.PCAP.CD"))

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