download_iot: Download Single IOT

Description Usage Arguments Examples

View source: R/download_iot.R

Description

Download a single IOT from the internet to your computer. download_iots will download a full dataset of IOTs.

Usage

1
2
3
4
5
6
download_iot(
  version,
  year,
  dir_data = get("dir_data", envir = paramEnv),
  dir_data_online = get("dir_data_online", envir = paramEnv)
)

Arguments

version:

The international input-output database to be used

year:

The year for which to add supplemental data

dir_data:

The path towards the local directory in which to store the data. Most often using change_dir_data is preferred.

dir_data_online:

the path towards the internet source with data. Normally no need to change this.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
Using change_dir_data
change_dir_data("D:/Data")
download_iot("WIOD2013", 2000)

Using dir_data param
download_iot("WIOD2013", 2000, "D:/Data")

## End(Not run)
  

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