This function prepares gridded data for use with domestic metis modules.
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 )
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 |
A table with data by polygon ID for each shapefile provided