def show_pratice_moderate_mode(): pairs = dl.load_data_from_csv('data/practice_moderate_mode.csv') pairs_formatted = dd.format_data(pairs, 'moderate') data = zip(pairs_formatted[0::2], pairs_formatted[1::2]) icons = dd.generate_icon(pairs) return render_template('record_linkage_d.html', data=data, icons=icons, title='Section 1: practice', thisurl='/practice/moderate_mode', page_number=14)
def _generate_data_display(self): data_mode = ['base', 'full', 'masked', 'minimum', 'moderate'] for mode in data_mode: self._data_display[mode] = dd.format_data( [self._data1_raw, self._data2_raw], mode)