def calculate_indicator_06_11(self): provider_prefix = self.config.provider_prefix cdr_data_table= self.config.cdr_data_table cursor = self.hc.cursor package = 'wb_indicators' print('########## calculate_indicator_06_11 ##########') sql_params= {'provider_prefix':provider_prefix,'cdr_data_table':cdr_data_table} execute_multiple(cursor,package,'indicator06_11',sql_params, time.time()) print('########## FINISHED calculate_indicator_06_11 ##########')
def calculate_indicator_04(self): provider_prefix = self.config.provider_prefix cdr_data_table= self.config.cdr_data_table baseline_start_date= self.config.baseline_start_date baseline_end_date= self.config.baseline_end_date cursor = self.hc.cursor package = 'wb_indicators' print('########## calculate_indicator_04 ##########') sql_params= {'provider_prefix':provider_prefix,'cdr_data_table':cdr_data_table,'baseline_start_date':baseline_start_date,'baseline_end_date':baseline_end_date} execute_multiple(cursor,package,'indicator04',sql_params, time.time()) print('########## FINISHED calculate_indicator_04 ##########')