{% from "components/icons.html" import download_icon %} {% macro export_action(dataset, version_state, label, may_export, may_import) %} {% if may_export %}
{{ download_icon() }}{{ label }}

Reporting table

Ready for BI tools and pivot tables

Excel CSV {% if dataset.kind != "hierarchy" %}Period…{% endif %}
{% if may_import %}

File for editing

Edit the {{ 'hierarchy' if dataset.kind == 'hierarchy' else 'mappings' if dataset.kind == 'mapping' else 'records' }} and import {{ 'it' if dataset.kind == 'hierarchy' else 'them' }} again

{% endif %}

For systems

Same structure as the API

{% endif %} {% endmacro %}