-------------------------------------------- lines 6-56 of file: at_cascade/get_var_id.py -------------------------------------------- {xrst_begin get_var_id} {xrst_spell dage dtime meas mulstd } Map Var Table Values to its Primary Key ####################################### Prototype ********* {xrst_literal , # BEGIN_DEF, # END_DEF # BEGIN_RETURN, # END_RETURN } var_table ********* This is a ``list`` of ``dict`` representation of the a dismod_at var table. var_type ******** This is a ``str`` that specifies the type of variable for the corresponding row of the var table. It must have one of the values in the table below (and cannot be ``None``). Other Arguments *************** All of the arguments, other than *var_type*, are ``int`` values. Depending on the value of *var_type* only certain of the other arguments matter: .. csv-table:: **Other Arguments That Matter by Variable Type** :header: var_type, Other Arguments :widths: 30, 70 mulstd_value, *smooth_id* mulstd_dage, *smooth_id* mulstd_dtime, *smooth_id* rate, "age_id, time_id, node_id, rate_id" mulcov_rate_value, "age_id, time_id, mulcov_id, group_id, subgroup_id" mulcov_meas_value, "age_id, time_id, mulcov_id, group_id, subgroup_id" mulcov_meas_noise, "age_id, time_id, mulcov_id, group_id" {xrst_end get_var_id}