setup_mis: Setup of the MIS data

Description Usage Arguments Details

View source: R/mis-indicators.R

Description

Prepares the main and auxiliary indicators of the EU Macroeconomic Imbalance Scoreboard (MIS). Downloads data from Eurostat and saves them as a labelled '.rds' file. For labeling, the function 'Hmisc::label()' is used.

Usage

1
setup_mis(download_data)

Arguments

download_data

logical; should the data be downloaded via the Eurostat API? If not, data will be retrieved from a local file. If the file does not exist, the function exits with an error.

Details

Sometimes, for the same indicators, multiple values are reported by Eurostat. The values correspond to different publications of the Statistical Annex of the imbalance procedure. This function searches for the resulting duplicates and uses only the most recent value published.


graebnerc/competitivenessData documentation built on June 7, 2021, 2:28 a.m.