complete code for poverty_data_tables