read_iotable: Read in the components of an IO table for analysis.

Description Usage Arguments Value

View source: R/read_iotable.R

Description

Reads in an IO table not included in the package data to enable analysis using other tables. External IO tables must be in Microsoft Excel .xlsx format.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
read_iotable(
  filepath = NULL,
  table = NULL,
  sheet = NULL,
  f_range = NULL,
  hhold_output_range = NULL,
  hhold_demand_range = NULL,
  total_output_range = NULL,
  final_demand_range = NULL
)

Arguments

filepath

path to the folder containing the IO table.

table

name of the xlsx file containing the IO table.

sheet

name of the worksheet in the excel file which contains the flow table.

f_range

cell range in the excel sheet which contains the flow table, including column labels.

hhold_output_range

cell range in the excel sheet which contains the vector of household output (total employee compensation).

hhold_demand_range

cell range in the excel sheet which contains the vector of household demands.

total_output_range

cell range in the excel sheet which contains the vector of total output.

final_demand_range

cell range in the excel sheet which contains the vector of final demands (total demand/output minus the inter-industry demands).

Value

'flowtable'

'hhold.output'

'hhold.demand'

'total.output'

'final.demand'


djmorris1989/iomodeltobalc documentation built on June 11, 2020, 12:16 a.m.