iotable_year_get {iotables} | R Documentation |
Get the available years from bulk downloaded input-output tables
Description
The function selects the available tables by year or time as a date for a specific country and currency unit in the Eurostat bulk file.
Usage
iotable_year_get(
labelled_io_data = NULL,
source = "germany_1995",
geo = "DE",
unit = "MIO_EUR",
time_unit = "year",
stk_flow = "TOTAL",
data_directory = NULL,
force_download = TRUE
)
Arguments
labelled_io_data |
If you have downloaded a bulk data file with
|
source |
A data source, for example |
geo |
A country code or a country name. For example, |
unit |
A character string containing the currency unit, defaults to |
time_unit |
Defaults to |
stk_flow |
Defaults to |
data_directory |
Defaults to |
force_download |
Defaults to |
Details
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.
Value
A vector with the years that have available input-output tables.
See Also
Other iotables processing functions:
conforming_vector_create()
,
household_column_get()
,
key_column_create()
,
matrix_round()
,
output_get()
,
primary_input_get()
,
rows_add()
,
supplementary_add()
,
total_tax_add()
,
vector_transpose_longer()
,
vector_transpose_wider()
Examples
germany_years <- iotable_year_get ( source = "germany_1995", geo = 'DE',
unit = "MIO_EUR" )