Gets GDP at current prices and (estimated) population data for Brazil

load_gdp(years, space_aggregation = "municipality", language = "eng")

Arguments

years

A numeric vector with years of interest. Supported years 2002-2017 for GDP data and 2001-2009, 2011-present for population data.

space_aggregation

A string that indicates the level of aggregation of the data. It can be by "Municipality" or "State"

language

A string that indicates in which language the data will be returned. The default is "eng", so your data will be returned in English. The other option is "pt" for Portuguese.

Value

A tibble with GDP (in thousands), Population and GDP Per Capita (in units).

Examples

if (FALSE) { load_gdp(2017) }