{% extends "base.html" %} {% block title %}{{ database }}: {{ table }}: {% if filtered_table_rows_count or filtered_table_rows_count == 0 %}{{ "{:,}".format(filtered_table_rows_count) }} row{% if filtered_table_rows_count == 1 %}{% else %}s{% endif %}{% endif %}{% if human_description_en %} {{ human_description_en }}{% endif %}{% endblock %} {% block extra_head %} {{- super() -}} {% endblock %} {% block body_class %}table db-{{ database|to_css_class }} table-{{ table|to_css_class }}{% endblock %} {% block nav %}

home / {{ database }}

{{ super() }} {% endblock %} {% block content %} {% block description_source_license %}{% include "_description_source_license.html" %}{% endblock %} {% if metadata.columns %}
{% for column_name, column_description in metadata.columns.items() %}
{{ column_name }}
{{ column_description }}
{% endfor %}
{% endif %} {% if filtered_table_rows_count or human_description_en %}

{% if filtered_table_rows_count or filtered_table_rows_count == 0 %}{{ "{:,}".format(filtered_table_rows_count) }} row{% if filtered_table_rows_count == 1 %}{% else %}s{% endif %}{% endif %} {% if human_description_en %}{{ human_description_en }}{% endif %}

{% endif %}
{% if supports_search %}
{% endif %} {% for column, lookup, value in filters.selections() %}
{% endfor %}
{% if is_sortable %}
{% endif %} {% for key, value in form_hidden_args %} {% endfor %}
{% if extra_wheres_for_ui %}

{{ extra_wheres_for_ui|length }} extra where clause{% if extra_wheres_for_ui|length != 1 %}s{% endif %}

{% endif %} {% if query.sql and allow_execute_sql %}

View and edit SQL

{% endif %} {% if suggested_facets %} {% include "_suggested_facets.html" %} {% endif %} {% if facets_timed_out %}

These facets timed out: {{ ", ".join(facets_timed_out) }}

{% endif %} {% if facet_results %} {% include "_facet_results.html" %} {% endif %} {% include custom_table_templates %} {% if next_url %}

Next page

{% endif %} {% if display_rows %}

Advanced export

JSON shape: default, array, newline-delimited{% if primary_keys %}, object {% endif %}

CSV options: {% if expandable_columns %}{% endif %} {% if next_url and settings.allow_csv_stream %}{% endif %} {% for key, value in url_csv_hidden_args %} {% endfor %}

{% endif %} {% if table_definition %}
{{ table_definition }}
{% endif %} {% if view_definition %}
{{ view_definition }}
{% endif %} {% endblock %}