def ins_aa_dat_var_payrcvd(): var = aa.Variable( name="pmDate", description="Payment received", type="Selector", folder_name="Payments", table_name="Payments", is_selectable=True, is_browsable=True, is_exportable=True, is_virtual=False, selector_info=aa.SelectorVariableInfo( selector_type="SingleValue", sub_type="Date", var_code_order="Ascending", number_of_codes=5678, code_length=13, minimum_var_code_count=0, maximum_var_code_count=9876, minimum_date=datetime(2008, 1, 1), maximum_date=datetime(2023, 7, 22), combined_from_variable_name=None, ), numeric_info=None, text_info=None, reference_info=None, ) return var
def ins_aa_dtme_var_timesnt(): var = aa.Variable( name="coSent", description="Time sent", type="Selector", folder_name="Communications", table_name="Communications", is_selectable=True, is_browsable=True, is_exportable=True, is_virtual=False, selector_info=aa.SelectorVariableInfo( selector_type="SingleValue", sub_type="DateTime", var_code_order="Ascending", number_of_codes=2468, code_length=12, minimum_var_code_count=0, maximum_var_code_count=87654, minimum_date=datetime(2012, 5, 13), maximum_date=datetime(2020, 10, 18), combined_from_variable_name=None, ), numeric_info=None, text_info=None, reference_info=None, ) return var
def ins_aa_flarr_var_tags(): var = aa.Variable( name="prTags", description="Product tags", type="Selector", folder_name="Product info", table_name="Products", is_selectable=True, is_browsable=True, is_exportable=True, is_virtual=False, selector_info=aa.SelectorVariableInfo( selector_type="OrBitArray", sub_type="Categorical", var_code_order="Nominal", number_of_codes=58, code_length=6, minimum_var_code_count=56, maximum_var_code_count=555_666, minimum_date=None, maximum_date=None, combined_from_variable_name=None, ), numeric_info=None, text_info=None, reference_info=None, ) return var
def ins_aa_arr_var_prexco(): var = aa.Variable( name="clPrExCo", description="Pre-existing conditions", type="Selector", folder_name="Client health info", table_name="Clients", is_selectable=True, is_browsable=False, is_exportable=False, is_virtual=False, selector_info=aa.SelectorVariableInfo( selector_type="OrArray", sub_type="Categorical", var_code_order="Nominal", number_of_codes=678, code_length=10, minimum_var_code_count=0, maximum_var_code_count=23456, minimum_date=None, maximum_date=None, combined_from_variable_name=None, ), numeric_info=None, text_info=None, reference_info=None, ) return var
def ins_aa_sel_var_gender(): var = aa.Variable( name="clGender", description="Gender", type="Selector", folder_name="Client details", table_name="Clients", is_selectable=True, is_browsable=False, is_exportable=True, is_virtual=False, selector_info=aa.SelectorVariableInfo( selector_type="SingleValue", sub_type="Categorical", var_code_order="Nominal", number_of_codes=4, code_length=2, minimum_var_code_count=123_456, maximum_var_code_count=234_567, minimum_date=None, maximum_date=None, combined_from_variable_name=None, ), numeric_info=None, text_info=None, reference_info=None, ) return var
def ins_aa_ref_var_payid(): var = aa.Variable( name="pmID", description="Payment ID", type="Reference", folder_name="Payments", table_name="Payments", is_selectable=True, is_browsable=True, is_exportable=True, is_virtual=False, selector_info=None, numeric_info=None, text_info=None, reference_info=dict(), ) return var
def ins_aa_text_var_addr(): var = aa.Variable( name="clAddr", description="Address", type="Text", folder_name="Client details", table_name="Clients", is_selectable=True, is_browsable=False, is_exportable=True, is_virtual=False, selector_info=None, numeric_info=None, text_info=aa.TextVariableInfo(maximum_text_length=80), reference_info=None, ) return var
def ins_aa_num_var_prem(): var = aa.Variable( name="prPrem", description="Premium", type="Numeric", folder_name="Products", table_name="Products", is_selectable=True, is_browsable=True, is_exportable=True, is_virtual=False, selector_info=None, numeric_info=aa.NumericVariableInfo( minimum=1.00, maximum=3044.21, is_currency=True, currency_locale="en-GB", currency_symbol="£", ), text_info=None, reference_info=None, ) return var