Skip to content

Overview of databank package functions

Iris uses the standard Matlab structures (struct objects) as databanks that can store any types of data. The +databank package provides several functions to automate and streamline some of the most frequent data handling tasks.

Categorical list of functions

Creating, converting, importing, and exporting databanks

Function Description
databank.toSheet Save databank of time series to a XLSX or CSV file
databank.fromSheet Load databank of time series from a XLSX or CSV file
databank.fromArray Create a time series databank from a numeric array
databank.toArray Create numeric array from time series data
databank.fromCSV Create databank by loading CSV file
databank.toCSV Write databank to CSV file
databank.withEmpty Create databank with empty time series

Getting and visualizing information about databanks

Function Description
databank.fieldNames List of databank field names as a row vector of strings
databank.list List databank fields adding date range to time series fields
databank.range Find a range that encompasses the ranges of all or selected databank time series
databank.spy Visualize availability of databank time series observations

Processing databanks

Function Description
databank.addMissingFields Create fields missing from a list, and assign them a default value
databank.apply Apply function to a selection of databank fields
databank.batch Execute batch job within databank
databank.clip Clip all time series in databank to a new range
databank.copy Copy fields of source databank to target databank
databank.eval Evaluate an expression within a databank context
databank.filterFields Get the names of databank fields that pass name or value tests
databank.merge Merge two or more databanks
databank.retrieveColumns Retrieve selected columns from databank fields

Creating and manipulating model databanks

Function Description
databank.forModel Create model specific databank
databank.minusControl Create simulation-minus-control database
databank.plusControl Create simulation-plus-control database