Data Extraction

Configure what data will be collected

{% include "ddm_core/form_components/_basic_field.html" with field=form.json_extraction_root %}
{% include "ddm_core/components/info_collapsible.html" with element_id="advanced-bp-settings" extra_classes="white mx-0" title="Advanced Settings" include_path="ddm_datadonation/blueprint/form_sections/partials/_advanced_settings.html" body="" hide_icon="true" %}
{% include "ddm_core/components/info_collapsible.html" with element_id="nested-settings" extra_classes="white mx-0" title="Nested Extraction Settings" include_path="ddm_datadonation/blueprint/form_sections/partials/_nested_extraction_settings.html" body="" hide_icon="true" %}

Relevant Fields

List any field you want to (a) keep in the donated data (mark as keep in donation), or (b) reference in an Extraction Rule.

{{ field_formset.management_form }} {{ field_formset.non_form_errors }}
{% include "ddm_datadonation/blueprint/form_sections/partials/_field_formset.html" %}

Extraction Rules

{{ rule_formset.management_form }} {{ rule_formset.non_form_errors }}
{% include "ddm_datadonation/blueprint/form_sections/partials/_extraction_rule_table.html" %}
{% include "ddm_core/components/info_collapsible.html" with extra_classes="mx-0 mb-0 mt-4" element_id="howdataextraction" title="How the data extraction works" include_path="ddm_datadonation/blueprint/info_collapsibles/block_data_extraction.html" body="" %}
{% include "ddm_core/components/info_collapsible.html" with extra_classes="mx-0" element_id="dataextraction" title="Extraction rule options" include_path="ddm_datadonation/blueprint/info_collapsibles/block_data_extraction_rules.html" body="" %}
{% for form in rule_formset %} {% with modal_id_postfix=forloop.counter0|stringformat:"i" button_id_postfix=forloop.counter0|stringformat:"i" %} {% include "ddm_datadonation/processing_rule_modal.html" with modal_id="configuration-"|add:modal_id_postfix form=form button_id=""|add:button_id_postfix %} {% endwith %} {% empty %} {% include "ddm_datadonation/processing_rule_modal.html" with modal_id="configuration-template" form=rule_formset.empty_form button_id="__prefix__" %} {% endfor %} {% include "ddm_datadonation/blueprint/form_sections/partials/_extraction_rule_empty_form.html" %}
{% include "ddm_datadonation/blueprint/form_sections/partials/_extraction_rule_form.html" with form=rule_formset.empty_form %}