Learn R Programming

iotables (version 0.2.4)

iotables_download: Download input-output tables

Description

This function downloads standard input-output table files. Currently only Eurostat files are supported. You are not likely to use this function, because iotable_get will call this function if necessary and properly filter out an input-output table. The only parameter is the Eurostat code of the table: Symmetric input-output table - current prices (NACE Rev. 2) [naio_cp17_r2] Symmetric input-output table at basic prices (product by product) (naio_10_cp1700) Symmetric input-output table at basic prices (industry by industry) (naio_10_cp1750) Symmetric input-output table at basic prices (product by product) (previous years prices) (naio_10_pyp1700) Symmetric input-output table at basic prices (industry by industry) (previous years prices) (naio_10_pyp1750)

Usage

iotables_download(source = "naio_cp17_r2", stk_flow = "DOM")

Arguments

source

Currently only source = "eurostat" works. Later OECD Stan will be added.

stk_flow

Defaults to "TOTAL". Possible values are "DOM", "IMP", "TOTAL". In tables where no distinction is made it is not needed.

Details

EU-level tables Input-output table for domestic output at current prices, 60 branches - EU aggregates (NACE Rev. 2) (naio_18_agg_60_r2) Input-output table at current prices, 10 branches - EU aggregates (NACE Rev. 2) (naio_17_agg_10_r2) Input-output table at current prices, 6 branches - EU aggregates (naio_17_agg_6)

At the moment import and domestic tables are not yet supported in the package. The data is downloaded in the tempdir() under the name the statistical product as an rds file. (For example: naio_10_cp1750.rds) The temporary directory is emptied at every normal R session exit.

Examples

Run this code
# NOT RUN {
 io_tables <- iotables_download ( source = "naio_cp17_r2" )
 
# }

Run the code above in your browser using DataLab