<commit_before>import {
  TREE_PLANTATIONS_DATASET,
  INTACT_FOREST_LANDSCAPES_DATASET,
  PRIMARY_FOREST_DATASET,
  MANGROVE_FORESTS_DATASET
} from './layers-datasets';
import {
  TREE_PLANTATIONS,
  INTACT_FOREST_LANDSCAPES,
  PRIMARY_FOREST,
  MANGROVE_FORESTS
} from './layers';

export default [
  {
    label: 'Plantations',
    value: 'plantations',
    tableKey: 'gfw_plantation__type',
    metaKey: 'gfw_plantations',
    global: true,
    categories: ['Unknown', 'Wood fiber / Timber', 'Oil Palm ', 'Fruit', 'Rubber', 'Other', 'Fruit Mix', 'Unknown Mix', 'Oil Palm Mix', 'Rubber Mix', 'Wood fiber / Timber Mix', 'Recently Cleared'],
    datasets: [
      {
        dataset: TREE_PLANTATIONS_DATASET,
        layers: [TREE_PLANTATIONS]
      }
    ]
  },
  {
    label: 'Intact Forest Landscapes ({iflYear})',
    value: 'ifl',
    tableKey: 'intact_forest_landscape__year',
    gladTableKey: 'is__intact_forest_landscapes_2016',
    metaKey: 'intact_forest_landscapes_change',
    global: true,
    default: 2016,
    comparison: '>=',
    categories: [2016, 2000],
    datasets: [
      {
        dataset: INTACT_FOREST_LANDSCAPES_DATASET,
        layers: [INTACT_FOREST_LANDSCAPES]
      }
    ]
  },
  {
    label: 'Primary Forests (2001, tropics only)',
    value: 'primary_forest',
    tableKey: 'is__regional_primary_forest',
    metaKey: 'regional_primary_forests',
    global: true,
    datasets: [
      {
        dataset: PRIMARY_FOREST_DATASET,
        layers: [PRIMARY_FOREST]
      }
    ]
  },
  {
    label: 'Mangrove forests',
    value: 'mangroves_2016',
    tableKey: 'is__mangroves_2016',
    metaKey: 'mangrove_2010_gmw',
    global: true,
    datasets: [
      {
        dataset: MANGROVE_FORESTS_DATASET,
        layers: [
          MANGROVE_FORESTS_DATASET
        ]
      }
    ],
    hidden: true
  },
  {
    label: 'Tree cover loss driver category',
    value: 'tsc',
    tableKey: 'tcs_driver__type',
    hidden: true
  }
];<commit_msg>fix mangrove forests in widgets<commit_after>import {
  TREE_PLANTATIONS_DATASET,
  INTACT_FOREST_LANDSCAPES_DATASET,
  PRIMARY_FOREST_DATASET,
  MANGROVE_FORESTS_DATASET
} from './layers-datasets';
import {
  TREE_PLANTATIONS,
  INTACT_FOREST_LANDSCAPES,
  PRIMARY_FOREST,
  MANGROVE_FORESTS
} from './layers';

export default [
  {
    label: 'Plantations',
    value: 'plantations',
    tableKey: 'gfw_plantation__type',
    metaKey: 'gfw_plantations',
    global: true,
    categories: ['Unknown', 'Wood fiber / Timber', 'Oil Palm ', 'Fruit', 'Rubber', 'Other', 'Fruit Mix', 'Unknown Mix', 'Oil Palm Mix', 'Rubber Mix', 'Wood fiber / Timber Mix', 'Recently Cleared'],
    datasets: [
      {
        dataset: TREE_PLANTATIONS_DATASET,
        layers: [TREE_PLANTATIONS]
      }
    ]
  },
  {
    label: 'Intact Forest Landscapes ({iflYear})',
    value: 'ifl',
    tableKey: 'intact_forest_landscape__year',
    gladTableKey: 'is__intact_forest_landscapes_2016',
    metaKey: 'intact_forest_landscapes_change',
    global: true,
    default: 2016,
    comparison: '>=',
    categories: [2016, 2000],
    datasets: [
      {
        dataset: INTACT_FOREST_LANDSCAPES_DATASET,
        layers: [INTACT_FOREST_LANDSCAPES]
      }
    ]
  },
  {
    label: 'Primary Forests (2001, tropics only)',
    value: 'primary_forest',
    tableKey: 'is__regional_primary_forest',
    metaKey: 'regional_primary_forests',
    global: true,
    datasets: [
      {
        dataset: PRIMARY_FOREST_DATASET,
        layers: [PRIMARY_FOREST]
      }
    ]
  },
  {
    label: 'Mangrove forests',
    value: 'mangroves_2016',
    tableKey: 'is__mangroves_2016',
    metaKey: 'mangrove_2010_gmw',
    global: true,
    datasets: [
      {
        dataset: MANGROVE_FORESTS_DATASET,
        layers: [
          MANGROVE_FORESTS
        ]
      }
    ],
    hidden: true
  },
  {
    label: 'Tree cover loss driver category',
    value: 'tsc',
    tableKey: 'tcs_driver__type',
    hidden: true
  }
];
{'fraction_non_alphanumeric': 0.11779575328614762, 'fraction_numerical': 0.016177957532861477, 'mean_word_length': 2.984894259818731, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3204761', 'n_tokens_mistral': 1542, 'n_tokens_neox': 1450, 'n_words': 266}