Skip to contents

Download, read and convert Eurostat population and GDP data.

Usage

downloadEurostatPopGDP(subtype)

readEurostatPopGDP(subtype)

convertEurostatPopGDP(x, subtype)

Arguments

subtype

A string. Available subtypes are:

  • "population": Population, ref demo_gind

  • "population_projections": Population projections, ref proj_19np

  • "GDP": GDP, ref nama_10_gdp

  • "GDPgr_projections": Projected GDP growth rates, 2023 forecast.

x

MAgPIE object returned by readEurostatPopGDP

Value

The read-in data, usually a magpie object. If supplementary is TRUE a list including the data and metadata is returned instead. The temporal and data dimensionality should match the source data. The spatial dimension should either match the source data or, if the convert argument is set to TRUE, should be on ISO code country level.

Examples

if (FALSE) {
readSource("EurostatPopGDP", subtype = "population")
}