export const DATA_EXPLORER_BLACKLIST = [
  'id',
  'iso_code3',
  'iso_code2',
  'emissions'
];
export const DATA_EXPLORER_FIRST_TABLE_HEADERS = [
  'region',
  'data_source',
  'gwp',
  'sector',
  'gas',
  'location',
  'model',
  'scenario',
  'category',
  'subcategory',
  'indicator',
  'definition',
  'unit'
];

export const DATA_EXPLORER_SECTIONS = {
  'historical-emissions': {
    label: 'historical_emissions',
    moduleName: 'ghg-emissions'
  },
  'ndc-sdg-linkages': {
    label: 'ndc_sdg',
    moduleName: 'ndcs-sdg'
  },
  'emission-pathways': {
    label: 'emission_pathways',
    moduleName: 'pathways'
  },
  'ndc-content': {
    label: 'ndc_content',
    moduleName: 'ndcs-content'
  }
};

export const DATA_EXPLORER_METHODOLOGY_SOURCE = {
  'historical-emissions': {
    PIK: ['historical_emissions_pik'],
    CAIT: ['historical_emissions_cait'],
    UNFCCC: ['historical_emissions_unfccc']
  },
  'ndc-sdg-linkages': ['ndc_sdc_all indicators'],
  'ndc-content': ['ndc_cait', 'ndc_wb'],
  'emission-pathways': [null] // model, scenario and indicator related metadata
};

export const DATA_EXPLORER_FILTERS = {
  'historical-emissions': ['source', 'gases', 'regions', 'sectors'],
  'ndc-sdg-linkages': ['goals', 'targets', 'sectors', 'countries'],
  'emission-pathways': [
    'locations',
    'models',
    'scenarios',
    'categories',
    'subcategories',
    'indicators'
  ],
  'ndc-content': ['categories', 'indicators', 'sectors', 'countries']
};

export const DATA_EXPLORER_DEPENDENCIES = {
  'emission-pathways': {
    models: ['locations'],
    scenarios: ['models', 'locations'],
    categories: ['scenarios', 'models', 'locations'],
    subcategories: ['categories', 'scenarios', 'models', 'locations'],
    indicators: [
      'subcategories',
      'categories',
      'scenarios',
      'models',
      'locations'
    ]
  }
};

export const DATA_EXPLORER_EXTERNAL_PREFIX = 'external';
export const DATA_EXPLORER_TO_MODULES_PARAMS = {
  'historical-emissions': {
    data_sources: { key: 'source' },
    gwps: { key: 'version' }
  },
  'ndc-sdg-linkages': {
    goals: {
      key: 'goal',
      idLabel: 'number'
    }
  },
  'ndc-content': {},
  'emission-pathways': {
    locations: {
      key: 'currentLocation',
      idLabel: 'id',
      currentId: 'iso_code'
    },
    models: {
      key: 'model'
    },
    scenarios: {
      key: 'scenario'
    },
    indicators: {
      key: 'indicator'
    },
    categories: {
      key: 'category'
    }
  }
};

export const MULTIPLE_LEVEL_SECTION_FIELDS = {
  'ndc-content': [{ key: 'sectors' }, { key: 'categories' }]
};

export const GROUPED_SELECT_FIELDS = {
  'historical-emissions': [
    {
      key: 'regions',
      label: 'Countries and Regions',
      groups: [
        { groupId: 'regions', title: 'Regions' },
        { groupId: 'countries', title: 'Countries' }
      ]
    }
  ]
};

export const DATA_EXPLORER_PER_PAGE = 20;

export const SECTION_NAMES = {
  pathways: 'emission-pathways',
  historicalEmissions: 'historical-emissions'
};

export const FILTER_NAMES = {
  models: 'models',
  scenarios: 'scenarios',
  indicators: 'indicators',
  categories: 'categories',
  subcategories: 'subcategories'
};

export const FILTERED_FIELDS = {
  'historical-emissions': {
    sectors: [
      {
        parent: 'source',
        id: 'data_source_id'
      }
    ]
  },
  'ndc-sdg-linkages': {
    targets: [
      {
        parent: 'goals',
        parentId: 'id',
        id: 'goal_id'
      }
    ]
  },
  'ndc-content': {
    indicators: [
      {
        parent: FILTER_NAMES.categories,
        parentId: 'id',
        id: 'category_ids'
      }
    ]
  },
  'emission-pathways': {
    scenarios: [
      {
        parent: 'models',
        idObject: 'model',
        id: 'id'
      }
    ],
    indicators: [
      {
        parent: FILTER_NAMES.categories,
        idObject: 'category',
        id: 'id'
      },
      {
        parent: 'scenarios',
        parentId: 'indicator_ids',
        id: 'id'
      }
    ]
  }
};

export const POSSIBLE_LABEL_FIELDS = [
  'name',
  'full_name',
  'value',
  'wri_standard_name',
  'cw_title',
  'title',
  'slug',
  'number'
];

export const POSSIBLE_VALUE_FIELDS = ['iso_code', 'iso_code3', 'id', 'value'];

export default {
  DATA_EXPLORER_BLACKLIST,
  DATA_EXPLORER_FIRST_TABLE_HEADERS,
  DATA_EXPLORER_SECTIONS,
  DATA_EXPLORER_METHODOLOGY_SOURCE,
  DATA_EXPLORER_DEPENDENCIES,
  DATA_EXPLORER_EXTERNAL_PREFIX,
  DATA_EXPLORER_TO_MODULES_PARAMS,
  MULTIPLE_LEVEL_SECTION_FIELDS,
  GROUPED_SELECT_FIELDS,
  DATA_EXPLORER_PER_PAGE,
  POSSIBLE_LABEL_FIELDS,
  POSSIBLE_VALUE_FIELDS
};

@@ -2918,16 +2918,17 @@
 AGE = 20
+0
 ;%0A%0Aexpor
@@ -4015,32 +4015,91 @@
   %7D%0A    %5D%0A  %7D%0A%7D;
+%0Aexport const NON_COLUMN_KEYS = %5B'start_year', 'end_year'%5D;
 %0A%0Aexport const P

Change per page to 200