Prev Next old2new_command

@(@\newcommand{\B}[1]{ {\bf #1} } \newcommand{\R}[1]{ {\rm #1} } \newcommand{\W}[1]{ \; #1 \; }@)@This is dismod_at-20221105 documentation: Here is a link to its current documentation .
Convert an Old Database to New Format

Syntax
Subgroup Table
data Table
avgint Table
mulcov Table
option Table

Syntax
dismod_at database old2new

Subgroup Table
The subgroup_table was added to the database input tables on 2019-11-22 . If the original database does not contain a subgroup table, it is added with one row and the following values:
   
subgroup_id subgroup_name group_id group_name
   
          0         world        0      world

data Table
If the original data base does not contain a subgroup table, the column subgroup_id is added to the data_table with the value subgroup_id = 0 for every row.

avgint Table
If the original data base does not contain a subgroup table, the column subgroup_id is added to the avgint_table with the value subgroup_id = 0 for every row.

mulcov Table
If the original data base does not contain a subgroup table, the mulcov table column named smooth_id is changed to be named group_smooth_id . In addition, the columns group_id and subgroup_smooth_id are added to the mulcov_table with values group_id = 0 , and subgroup_smooth_id = null for every row.

option Table
The zero_sum_random option name was changed to zero_sum_child_rate on 2019-11-29 . If the option name zero_sum_random is in the option table, it is changed to zero_sum_child_rate .
Input File: devel/cmd/old2new_command.cpp