Skip to contents

Downloads one regional indicator of indicators() from Eurostat, or takes it from the disk cache when it was downloaded less than a day ago, for the regions of the NUTS 2024 classification at level 2, without the values of inst/extdata/errors.csv, plainly wrong in the data of Eurostat.

Usage

get_regional(id)

Arguments

id

The id of a regional indicator in indicators(), such as "r_unemployment".

Value

A data frame with geo (the NUTS code), region, country, year and value, or NULL with a message when Eurostat or the outlines of the regions cannot be reached.

Examples

if (FALSE) { # \dontrun{
get_regional("r_gdp_pps")
} # }