<commit_before><% content_for :js do %>
  <script>
    $(function() {
      var StaticRouter = Backbone.Router.extend({
        routes: {
          'sources/:section': 'change'
        },

        change: function(tab) {
          var accordion = window.location.hash.replace('#','');

          window.static_data._onNavChange(tab, accordion);
        }
      });

      cdb.init(function() {
        window.static_data = new gfw.ui.view.Static();

        window.router = new StaticRouter();
        Backbone.history.start({ pushState: true });
      });
    });
  </script>
<% end %>

<div class='inner'>
  <div class='header_block'>
    <div class='header_block__body'>
      <h1 class='header_block__title'>Data sources</h1>
      <p class='header_block__description'>Global Forest Watch hosts a wealth of data relating to forests. Some data have been developed by WRI or by GFW partner organizations. Other data are in the public domain and have been developed by governments, NGOs, and companies. The data vary in accuracy, resolution, frequency of update, and geographic coverage. The summaries below include links to further information such as methods and technical documents.  Full download of the data sets is available for most sources.</p>
    </div>

    <ul class='header_block__footer'>
      <li class='header_block__tab three'>
        <%= link_to "Download by country #{content_tag(:i)}".html_safe, countries_path %>
      </li>

      <li class='header_block__tab three'>
        <a href='mailto:<EMAIL>'>Missing a data set?<i></i></a>
      </li>

      <li class='header_block__tab three last'>
        <a href='https://groups.google.com/forum/#!forum/globalforestwatch' target='_blank'>Join the discussion<i></i></a>
      </li>
    </ul>
  </div>
</div>

<div class='inner'>
  <div class='static-inner'>
    <div class='navigation_left'>
      <ul>
        <li class='item_title'><i class='caret_down'></i></li>
        <li><%= link_to 'Forest change', "#{sources_path}/forest_change", :"data-slug" => 'forest_change', :class => 'nav-item selected' %></li>
        <li><%= link_to 'Forest cover', "#{sources_path}/forest_cover", :"data-slug" => 'forest_cover', :class => 'nav-item' %></li>
        <li><%= link_to 'Forest use', "#{sources_path}/forest_use", :"data-slug" => 'forest_use', :class => 'nav-item' %></li>
        <li><%= link_to 'Conservation', "#{sources_path}/conservation", :"data-slug" => 'conservation', :class => 'nav-item' %></li>
        <li><%= link_to 'People', "#{sources_path}/people", :"data-slug" => 'people', :class => 'nav-item' %></li>
        <li><%= link_to 'Stories', "#{sources_path}/stories", :"data-slug" => 'stories', :class => 'nav-item' %></li>
        <li><%= link_to 'Base maps', "#{sources_path}/base_maps", :"data-slug" => 'base_maps', :class => 'nav-item' %></li>
        <li><%= link_to 'Code', "#{sources_path}/code", :"data-slug" => 'code', :class => 'nav-item' %></li>
        <li><%= link_to 'GFW on Google Earth Engine', "#{sources_path}/earth_engine", :"data-slug" => 'earth_engine', :class => 'nav-item' %></li>
        <li><%= link_to 'GFW on ArcGIS Online', "#{sources_path}/arcgis", :"data-slug" => 'arcgis', :class => 'nav-item' %></li><commit_msg>Adds "Countries" to the side menu in data page<commit_after><% content_for :js do %>
  <script>
    $(function() {
      var StaticRouter = Backbone.Router.extend({
        routes: {
          'sources/:section': 'change'
        },

        change: function(tab) {
          var accordion = window.location.hash.replace('#','');

          window.static_data._onNavChange(tab, accordion);
        }
      });

      cdb.init(function() {
        window.static_data = new gfw.ui.view.Static();

        window.router = new StaticRouter();
        Backbone.history.start({ pushState: true });
      });
    });
  </script>
<% end %>

<div class='inner'>
  <div class='header_block'>
    <div class='header_block__body'>
      <h1 class='header_block__title'>Data sources</h1>
      <p class='header_block__description'>Global Forest Watch hosts a wealth of data relating to forests. Some data have been developed by WRI or by GFW partner organizations. Other data are in the public domain and have been developed by governments, NGOs, and companies. The data vary in accuracy, resolution, frequency of update, and geographic coverage. The summaries below include links to further information such as methods and technical documents.  Full download of the data sets is available for most sources.</p>
    </div>

    <ul class='header_block__footer'>
      <li class='header_block__tab three'>
        <%= link_to "Download by country #{content_tag(:i)}".html_safe, countries_path %>
      </li>

      <li class='header_block__tab three'>
        <a href='mailto:<EMAIL>'>Missing a data set?<i></i></a>
      </li>

      <li class='header_block__tab three last'>
        <a href='https://groups.google.com/forum/#!forum/globalforestwatch' target='_blank'>Join the discussion<i></i></a>
      </li>
    </ul>
  </div>
</div>

<div class='inner'>
  <div class='static-inner'>
    <div class='navigation_left'>
      <ul>
        <li class='item_title'><i class='caret_down'></i></li>
        <li><%= link_to 'Forest change', "#{sources_path}/forest_change", :"data-slug" => 'forest_change', :class => 'nav-item selected' %></li>
        <li><%= link_to 'Forest cover', "#{sources_path}/forest_cover", :"data-slug" => 'forest_cover', :class => 'nav-item' %></li>
        <li><%= link_to 'Forest use', "#{sources_path}/forest_use", :"data-slug" => 'forest_use', :class => 'nav-item' %></li>
        <li><%= link_to 'Conservation', "#{sources_path}/conservation", :"data-slug" => 'conservation', :class => 'nav-item' %></li>
        <li><%= link_to 'People', "#{sources_path}/people", :"data-slug" => 'people', :class => 'nav-item' %></li>
        <li><%= link_to 'Stories', "#{sources_path}/stories", :"data-slug" => 'stories', :class => 'nav-item' %></li>
        <li><%= link_to 'Base maps', "#{sources_path}/base_maps", :"data-slug" => 'base_maps', :class => 'nav-item' %></li>
        <li><%= link_to 'Countries', "#{sources_path}/countries", :"data-slug" => 'countries', :class => 'nav-item' %></li>
        <li><%= link_to 'Code', "#{sources_path}/code", :"data-slug" => 'code', :class => 'nav-item' %></li>
        <li><%= link_to 'GFW on Google Earth Engine', "#{sources_path}/earth_engine", :"data-slug" => 'earth_engine', :class => 'nav-item' %></li>
        <li><%= link_to 'GFW on ArcGIS Online', "#{sources_path}/arcgis", :"data-slug" => 'arcgis', :class => 'nav-item' %></li>
{'fraction_non_alphanumeric': 0.19370936035082414, 'fraction_numerical': 0.0006048691970361409, 'mean_word_length': 3.5363511659807956, 'pattern_counts': {'":': 0, '<': 146, '<?xml version=': 0, '>': 188, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3804693', 'n_tokens_mistral': 2200, 'n_tokens_neox': 2141, 'n_words': 544}