load_iot: Load a single International Input-Output Table.

Description Usage Arguments Details Examples

View source: R/load_iot.R

Description

Function loads a single internation Input-Output Table (IOT).

Usage

1
load_iot(version, year, directory = get("dir_data", envir = paramEnv))

Arguments

version:

version of IOT

year:

year of IOT

directory:

directory to where the input-output tables are stored.

Details

Versions currently supported are WIOD2013 (World Input Output Database, version 2013), WIOD2016 (World Input Output Database, version 2013) and ICIOT2018 (Inter-Country Input Output Tables, version 2018).

To load a time-series of international input-output tables use load_iots()

Directory only needs to direct to the main storage directory, right version and year will be taken care of. Default is loading via the internet. Users who use IOTs more often are advised to make a local copy. Local copy of online data can be made via download_iots()

Examples

1
2
3
4
5
6
7
8
## Not run: Using online data:
iot <- load_iot("WIOD2013", 2000)

## Not run: Using local data:
iot <- load_iot("WIOD2013", 2000, directory = "D:/Data")
## End(Not run)

 

sybrendeuzeman/WIOD_package documentation built on Jan. 29, 2020, 9:07 p.m.