OutputTable#

settings activitysim.core.configuration.OutputTable#
Fields:
  • decode_columns (dict[str, str])

  • tablename (str)

field decode_columns: dict[str, str] = None#

A mapping indicating columns to decode when writing out results.

Column decoding is the inverse of column recoding, such that the original mapped values are restored. For example, if TAZ ID’s in the zone_id column of the land_use table have been recoded to zero-based, then any output column that gives a TAZ (i.e., household home zones, work or school locations, trip or tour origins and destinations) can and probably should be decoded from zero-based back into nominal TAZ ID’s. If every value in the column is to be decoded, simply give the decode instruction in the same manner as the recode instruction, “tablename.fieldname” (often, “land_use.zone_id”).

For some columns, like work or school locations, only non-negative values should be decoded, as negative values indicate an absence of choice. In these cases, the “tablename.fieldname” can be prefixed with a “nonnegative” filter, seperated by a pipe character (e.g. “nonnegative | land_use.zone_id”).

field tablename: str [Required]#

The name of the pipeline table to write out.