{#- The time section of a Tabalyst Insights date column page. Every figure is in a table that reads without JavaScript. -#} {% from 'insights_timeline.html' import by_date with context %} {% from 'insights_grouped_time.html' import by_grouped_time with context %} {% macro date_sections(d, library, over_time_number='02', numbers_number='03', grouped_number='04', delta_number='05') -%}
{% if d.has_periods %}

{{ over_time_number }} / Over time

Records per {{ d.granularity }}

How many dates of the column fall in each period. Counts are exact.

{% for label, value in d.facts %}
{{ label }}
{{ value }}
{% endfor %}

The chart loads {{ library.name }} {{ library.version }} from a CDN; no data of the report leaves this page. The tables hold every figure and read without it.

This chart needs JavaScript and a network connection to load {{ library.name }}. The table below holds the same figures.

{% if d.others %}

Click a name in the legend to compare with the other date columns of the dataset: {% for name in d.others %}{{ name }}{% if not loop.last %}, {% endif %}{% endfor %}.

{% endif %}
Records per {{ d.granularity }}({{ d.periods | length }}{% if d.more %} of {{ d.periods | length + d.more }}{% endif %} periods)
{% for period, count in d.periods %}{% endfor %}
Period
Records
{{ period }}{{ count }}
{% if d.more %}

{{ d.more | count }} more periods are in the report JSON.

{% endif %}
{% for name, rows in d.together %}

With {{ name }}

{% for label, value in rows %}
{{ label }}{{ value }}
{% endfor %}
{% endfor %}
{% else %} {% endif %} {% if d.timelines %}{{ by_date(d.timelines, d.data.name, numbers_number, 'date', library) }}{% endif %} {% if d.grouped_times %}{{ by_grouped_time(d.grouped_times, d.data.name, grouped_number, 'date', library, 'grouped-time', 'Over time by category') }}{% endif %} {% if d.deltas %}

{{ delta_number }} / Elapsed durations

Elapsed durations with {{ d.data.name }}

Distribution of second โˆ’ first over every comparable record.

{% for label, value, sub in d.deltas[0].facts %}
{{ label }}
{{ value }}{% if sub %}{{ sub }}{% endif %}
{% endfor %}

This chart needs JavaScript and a network connection to load {{ library.name }}. The tables below hold the same figures.

0 %}hidden{% endif %}>No comparable records were found for this pair.

{% for delta in d.deltas %}
{{ delta.first }} โ†’ {{ delta.second }}({{ delta.compared | count }} of {{ delta.records | count }} compared, {{ delta.unit }}{% if delta.estimated %}, quantiles estimated{% endif %}){% for label, value in delta.left_out %}{{ label }}: {{ value }}. {% endfor %}{% for note in delta.notes %}{{ note }} {% endfor %}
{% for label, value, sub in delta.facts %}
{{ label }}
{{ value }}{% if sub %}{{ sub }}{% endif %}
{% endfor %}
{% if delta.quantiles %}

{% for label, value in delta.quantiles %}{{ label }} {{ value }}{% endfor %}{% if delta.estimated %} estimated from the grid{% endif %}

{% endif %} {% if delta.rows %}
{% if delta.dense %}{% else %}{% endif %} {% for r in delta.rows %}{% if delta.dense %}{% else %}{% endif %}{% endfor %}
#
Value ({{ delta.unit }})
From ({{ delta.unit }})
To (excluded)
Width
Count
Share
Cumulative
{{ r.index }}{{ r.low }}{{ r.low }}{{ r.high }}{{ r.width }}{{ r.count }}{{ r.share }}{{ r.cumulative }}
{% else %}

No comparable records were found for this pair.

{% endif %}
{% endfor %}
{% endif %}
{%- endmacro %}