iotable_get | R Documentation |
This function is used to filter out a single input-output table from a database, for example a raw file downloaded from the Eurostat website. It provides some functionality to avoid some pitfalls.
iotable_get( labelled_io_data = NULL, source = "germany_1995", geo = "DE", year = 1990, unit = "MIO_EUR", stk_flow = "DOM", labelling = "iotables", data_directory = NULL, force_download = TRUE )
labelled_io_data |
If you have downloaded a bulk data file with
|
source |
A data source, for example
For further information consult the Eurostat Symmetric Input-Output Tables page. |
geo |
A country code or a country name.
For example, |
year |
A numeric variable containing the year.
Defaults to |
unit |
A character string containing the currency unit,
defaults to |
stk_flow |
Defaults to |
labelling |
Defaults to |
data_directory |
Defaults to |
force_download |
Defaults to |
Unless you want to work with bulk data files,
you should not invoke iotables_download
directly, rather via this function, if and when it is necessary.
A wide format data.frame with a well-ordered input-output table. The bulk data files on the Eurostat website are in a long form and they are not correctly ordered for further matrix equations.
germany_table <- iotable_get( source = "germany_1995", geo = 'DE', year = 1990, unit = "MIO_EUR", labelling = "iotables" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.