load_extra_iots: Load extra data to multiple IOTs.

Description Usage Arguments Details Examples

View source: R/load_extra_iots.R

Description

Function to load extra data to a single internation Input-Output Table (IOT).

Usage

1
load_extra_iots(iots, extra, directory = get("dir_data", envir = paramEnv))

Arguments

iots:

List of Input-Output Tables (load via [load_iots()])

extra:

Name of the extra data that is required.

directory:

directory to where the input-output tables are stored.

Details

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
 9
10
11
12
13
14
## Not run: Using online data:
iots <- load_iots("WIOD2013")
iots <- load_extra_iots(iots, "SEA")

iots <- load_iots("WIOD2013", 2000:2001)
iots <- load_extra_iots(iots, "SEA")

## Not run: Using local data:
iots <- load_iots("WIOD2013", directory = "D:/Data")
iots <- load_extra_iots(iots, "SEA", directory = "D:/Data")

## End(Not run)

 

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