<commit_before>from wazimap.data.tables import FieldTable, SimpleTable


# Define our tables so the data API can discover them.
# Household tables
FieldTable(['main type of cooking fuel'], universe='Households',
           table_per_level=False)

FieldTable(['drinking water source'], universe='Households',
           table_per_level=False)

FieldTable(['lighting fuel'], universe='Households', table_per_level=False)

FieldTable(['foundation type'], universe='Households', table_per_level=False)

FieldTable(['outer wall type'], universe='Households', table_per_level=False)

FieldTable(['roof type'], universe='Households', table_per_level=False)

FieldTable(['toilet type'], universe='Households', table_per_level=False)

FieldTable(['home ownership'], universe='Households', table_per_level=False)

FieldTable(['household facilities'], universe='Households',
           denominator_key='TOTAL_HOUSEHOLDS')

# Education tables
FieldTable(['education level passed', 'sex'],
           universe='People aged 5 years and older', table_per_level=False)

FieldTable(['literacy', 'sex'],
           universe='People aged 5 years and older', table_per_level=False)

FieldTable(['school attendance', 'sex'],
           universe='People aged 5 to 25 years old', table_per_level=False)

# Population tables
FieldTable(['disability', 'sex'], universe='Population', table_per_level=False)

SimpleTable(
    id='lifeexpectancy',
    universe='Population',<commit_msg>Add description and dataset to table declarations.<commit_after>from wazimap.data.tables import FieldTable, SimpleTable

# Define our tables so the data API can discover them.
# Household tables
FieldTable(['main type of cooking fuel'],
           universe='Households',
           description='Main type of cooking fuel',
           dataset='National Population and Housing Census',
           table_per_level=False)

FieldTable(['drinking water source'],
           universe='Households',
           description='Drinking water source',
           dataset='National Population and Housing Census',
           table_per_level=False)

FieldTable(['lighting fuel'],
           universe='Households',
           description='Main type of lighting fuel',
           dataset='National Population and Housing Census',
           table_per_level=False)

FieldTable(['foundation type'],
           universe='Households',
           description='Building foundation',
           dataset='National Population and Housing Census',
           table_per_level=False)

FieldTable(['outer wall type'],
           universe='Households',
           description='Outer wall of building',
           dataset='National Population and Housing Census',
           table_per_level=False)

FieldTable(['roof type'],
           universe='Households',
           description='Roof type of building',
           dataset='National Population and Housing Census',
           table_per_level=False)

FieldTable(['toilet type'],
           universe='Households',
           description='Type of toilet used',
           dataset='National Population and Housing Census',
           table_per_level=False)

FieldTable(['home ownership'],
           universe='Households',
           description='Home ownership',
           dataset='National Population and Housing Census',
           table_per_level=False)

FieldTable(['household facilities'],
           universe='Households',
           description='Facilities possessed by household',
           dataset='National Population and Housing Census',
           denominator_key='TOTAL_HOUSEHOLDS')

# Education tables
FieldTable(['education level passed', 'sex'],
           universe='People aged 5 years and older',
           description='Education level by gender',
           dataset='National Population and Housing Census',
           table_per_level=False)

FieldTable(['literacy', 'sex'],
           universe='People aged 5 years and older',
           description='Literacy by gender',
           dataset='National Population and Housing Census',
           table_per_level=False)

FieldTable(['school attendance', 'sex'],
           universe='People aged 5 to 25 years old',
           description='School attendance by gender',
           dataset='National Population and Housing Census',
           table_per_level=False)

# Population tables
FieldTable(['disability', 'sex'],
           universe='Population',
           description='Disability by gender',
           dataset='National Population and Housing Census',
           table_per_level=False)

SimpleTable(
    id='lifeexpectancy',
    universe='Population',
{'fraction_non_alphanumeric': 0.10529743812418585, 'fraction_numerical': 0.0021710811984368217, 'mean_word_length': 3.5389162561576355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3908798', 'n_tokens_mistral': 1158, 'n_tokens_neox': 1106, 'n_words': 317}