Get a Eurostat data product and save its metadata and the data in tidy tables.

get_eurostat_indicator(preselected_indicators = NULL, id, eurostat_toc = NULL)

Arguments

preselected_indicators

A pre-filtered datatable from get_eurostat. Defaults to NULL, when the download will be called with id.

id

The identifier code of a Eurostat data product. get_eurostat will be called with id if preselected_indicators=NULL. In case the data is preselected, the id serves for labeling from the Eurostat label dictionaries.

eurostat_toc

The Eurostat table of contents

Value

A list that contains four tables: the indicator, a value label description table, the metadata table and the description and keywords table.

Details

This function creates a tidy indicator table that is ready to be inserted into a database.

See also

Other acquisition functions: update_metadata()