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.
iotables_download(
source = "naio_10_cp1700",
data_directory = NULL,
force_download = FALSE
)
A nested data frame. Each input-output table is in a separate
row of the nested output, where all the metadata are in columns, and the
actual, tidy, ordered input-output table is in the data data
column.
The data is saved into the actual tempdir()
, too.
See the available list of sources above in the Description.
Defaults to NULL
when the files will be temporarily stored
in the path retrieved by tempdir
. If it is a different valid directory,
it will try to save the pre-processed data file here with labelling.
Defaults to FALSE
which will use the existing downloaded file
in the data_directory
or the temporary directory, if it exists. TRUE
will
try to download the file from the Eurostat warehouse.
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.
To save the file for further use (which is necessary in analytical work because
download times are long) set the download_directory
[see parameters].
The function will make a copy of the rds file in this directory.
naio_10_cp1700
Symmetric input-output table at basic prices (product by product)
naio_10_pyp1700
Symmetric input-output table at basic prices (product by product) (previous years prices)
naio_10_cp1750
Symmetric input-output table at basic prices (industry by industry)
naio_10_pyp1750
Symmetric input-output table at basic prices (industry by industry) (previous years prices)
naio_10_cp15
Supply table at basic prices incl. transformation into purchasers' prices
naio_10_cp16
Use table at purchasers' prices
naio_10_cp1610
Use table at basic prices
naio_10_pyp1610
Use table at basic prices (previous years prices) (naio_10_pyp1610)
naio_10_cp1620
Table of trade and transport margins at basic prices
naio_10_pyp1620
Table of trade and transport margins at previous years' prices
naio_10_cp1630
Table of taxes less subsidies on products at basic prices
naio_10_pyp1630
Table of taxes less subsidies on products at previous years' prices
uk_2010_siot
United Kingdom Input-Output Analytical Tables data
Other import functions:
airpol_get()
,
employment_get()
,
iotables_metadata_get()
,
iotables_read_tempdir()
# \donttest{
io_tables <- iotables_download(source = "naio_10_pyp1750")
# }
Run the code above in your browser using DataLab