def transition(self, data, year, linked_tables=None):
        logger.debug('start: transition')
        linked_tables = linked_tables or {}
        updated_links = {}

        with log_start_finish('add/remove rows', logger):
            updated, added, copied, removed = self.transitioner(data, year)

        for table_name, (table, col) in linked_tables.iteritems():
            logger.debug('updating linked table {}'.format(table_name))
            updated_links[table_name] = \
                _update_linked_table(table, col, added, copied, removed)

        logger.debug('finish: transition')
        return updated, added, updated_links
Add or remove rows from a table based on population targets.
dataset/ETHPy150Open UDST/urbansim/urbansim/models/transition.py/TransitionModel.transition