loadModelObject: Load Model Object

Description Usage Arguments

View source: R/model.R

Description

loadModelObject downloads the appropriate model from talentedco.in, if it isn't present in the /data folder, and returns the result as a model object.

Usage

1
2
loadModelObject(data_tag, product_code_rev, product_code_digit, input_year,
  ab_flag)

Arguments

data_tag

Dataset to use (can be "baci" or "oec").

product_code_rev

HS coding scheme revision year (can be "1992", "1996", "2002", or "2007").

product_code_digit

Number of digits in HS coding scheme (can be "4" or "6").

input_year

Year for which to run model (e.g. 2001, 2006).

ab_flag

= TRUE (include AB data) or FALSE


thomnific/ecxplor documentation built on Sept. 29, 2020, 3:37 p.m.