metis.io: metis.io

Description Usage Arguments Value

View source: R/metis.io.R

Description

This function prepares gridded data for use with domestic metis modules.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
metis.io(
  ioTable0 = NULL,
  useIntensity = 0,
  A0 = NULL,
  dirOutputs = paste(getwd(), "/outputs", sep = ""),
  nameAppend = "",
  figWidth = 9,
  figHeight = 7,
  sankeyLabelAbsPlots = 1,
  combSubRegionPlots = 1,
  folderName = "folderNameDefault",
  pdfpng = "png",
  sankeyAxis1Label = "From",
  sankeyAxis2Label = "To",
  plotSankeys = T
)

Arguments

ioTable0

Initial ioTable. Must have columns: supplySubSector,total,export and cap. Each supply sector should also have imports. Default = NULL,

useIntensity

Boolean to use given intensity or not. Default is set to 0.

A0

Intensity matrix. Default Null.

dirOutputs

Default =paste(getwd(),"/outputs",sep=""),

nameAppend

Modified intensity matrix. Default =NULL,

figWidth

Default = 9,

figHeight

Default = 7,

sankeyLabelAbsPlots

Default = 1

combSubRegionPlots

Default = 1

folderName

Default ="folderNameDefault"

pdfpng

Save IO figures as pdf or png. Type=String. Options: 'pdf' or 'png'. Default = 'png'.

sankeyAxis1Label

Set left-hand side label of sankey diagram. Type=String. Default = 'From'.

sankeyAxis2Label

Set right-hand side label of sankey diagram. Type=String. Default = 'To'.

plotSankeys

Default = T

Value

A table with data by polygon ID for each shapefile provided


JGCRI/metis documentation built on April 12, 2021, 12:07 a.m.