function addExtras() {
          $(function() {
            $('[data-toggle="tooltip"]').tooltip();
          });

          var doiArray = [];
          var tmpTD = d3.selectAll(".dc-table-column._4")._groups[0];
          tmpTD.forEach(function(cell) {
            doiArray.push(d3.select(cell).text());
          });

          dim.doi.filterFunction(function(d) { return doiArray.indexOf(d) > -1; });
          var filtDoi = dim.doi.top(Infinity);
          dim.doi.filterAll();

          var tmpTD = d3.selectAll(".dc-table-column._0")._groups[0];
          tmpTD.forEach(function(cell,i) {
            var tmpJ = -1;
            filtDoi.some(function(d,j) {
              if(d.doi == doiArray[i]) {
                tmpJ = j;
              }
              return tmpJ > -1;
            });

            var tmpText = d3.select(cell).text();
            var tmpStr = {};
            tmpStr.abstract = filtDoi[tmpJ].abstract.replace(/'/g, "&#39;").replace(/"/g,"&#34;");
            tmpStr.id = filtDoi[tmpJ].id.replace(/'/g, "&#39;").replace(/"/g,"&#34;");
            tmpStr.geographicdescription = filtDoi[tmpJ].geographicdescription.replace(/'/g, "&#39;").replace(/"/g,"&#34;");

            d3.select(cell).html('<a href="' + filtDoi[tmpJ].doi + '" target="_blank" title="Open in EDI">' + tmpText + '</a>'
              + '<span><i class="fa fa-font" data-toggle="tooltip" data-container="#resultsContainer" data-placement="auto" data-html="true" title="<p><b><u>Abstract</u></b></p><p>' + tmpStr.abstract + '</p>"></i></span>'
              + '<span><i class="fa fa-info-circle" data-toggle="tooltip" data-container="#resultsContainer" data-placement="auto" data-html="true" title="<p><b><u>ID</u></b></p><p>' + tmpStr.id + '</p>"></i></span>'
              + '<span><i class="fa fa-map-marker" data-toggle="tooltip" data-container="#resultsContainer" data-placement="auto" data-html="true" title="<p><b><u>Geographic Description</u></b></p><p>' + tmpStr.geographicdescription+ '</p>"></i></span>'
            );
          });
        }
//***Function to add DOI link, abstract, methods, and geographic location to title column of table
Function to add DOI link, abstract, methods, and geographic location to title column of table
Function to add DOI link abstract methods and geographic location to title column of table
function addExtras() {
          $(function() {
            $('[data-toggle="tooltip"]').tooltip();
          });
          var doiArray = [];
          var tmpTD = d3.selectAll(".dc-table-column._4")._groups[0];
          tmpTD.forEach(function(cell) {
            doiArray.push(d3.select(cell).text());
          });
          dim.doi.filterFunction(function(d) { return doiArray.indexOf(d) > -1; });
          var filtDoi = dim.doi.top(Infinity);
          dim.doi.filterAll();
          var tmpTD = d3.selectAll(".dc-table-column._0")._groups[0];
          tmpTD.forEach(function(cell,i) {
            var tmpJ = -1;
            filtDoi.some(function(d,j) {
              if(d.doi == doiArray[i]) {
                tmpJ = j;
              }
              return tmpJ > -1;
            });
            var tmpText = d3.select(cell).text();
            var tmpStr = {};
            tmpStr.abstract = filtDoi[tmpJ].abstract.replace(/'/g, "&#39;").replace(/"/g,"&#34;");
            tmpStr.id = filtDoi[tmpJ].id.replace(/'/g, "&#39;").replace(/"/g,"&#34;");
            tmpStr.geographicdescription = filtDoi[tmpJ].geographicdescription.replace(/'/g, "&#39;").replace(/"/g,"&#34;");
            d3.select(cell).html('<a href="' + filtDoi[tmpJ].doi + '" target="_blank" title="Open in EDI">' + tmpText + '</a>'
              + '<span><i class="fa fa-font" data-toggle="tooltip" data-container="#resultsContainer" data-placement="auto" data-html="true" title="<p><b><u>Abstract</u></b></p><p>' + tmpStr.abstract + '</p>"></i></span>'
              + '<span><i class="fa fa-info-circle" data-toggle="tooltip" data-container="#resultsContainer" data-placement="auto" data-html="true" title="<p><b><u>ID</u></b></p><p>' + tmpStr.id + '</p>"></i></span>'
              + '<span><i class="fa fa-map-marker" data-toggle="tooltip" data-container="#resultsContainer" data-placement="auto" data-html="true" title="<p><b><u>Geographic Description</u></b></p><p>' + tmpStr.geographicdescription+ '</p>"></i></span>'
            );
          });
        }
function addExtras ( ) { $ ( function ( ) { $ ( '[data-toggle="tooltip"]' ) . tooltip ( ) ; } ) ; var doiArray = [ ] ; var tmpTD = d3 . selectAll ( ".dc-table-column._4" ) . _groups [ 0 ] ; tmpTD . forEach ( function ( cell ) { doiArray . push ( d3 . select ( cell ) . text ( ) ) ; } ) ; dim . doi . filterFunction ( function ( d ) { return doiArray . indexOf ( d ) > - 1 ; } ) ; var filtDoi = dim . doi . top ( Infinity ) ; dim . doi . filterAll ( ) ; var tmpTD = d3 . selectAll ( ".dc-table-column._0" ) . _groups [ 0 ] ; tmpTD . forEach ( function ( cell , i ) { var tmpJ = - 1 ; filtDoi . some ( function ( d , j ) { if ( d . doi == doiArray [ i ] ) { tmpJ = j ; } return tmpJ > - 1 ; } ) ; var tmpText = d3 . select ( cell ) . text ( ) ; var tmpStr = { } ; tmpStr . abstract = filtDoi [ tmpJ ] . abstract . replace ( / ' / g , "&#39;" ) . replace ( / " / g , "&#34;" ) ; tmpStr . id = filtDoi [ tmpJ ] . id . replace ( / ' / g , "&#39;" ) . replace ( / " / g , "&#34;" ) ; tmpStr . geographicdescription = filtDoi [ tmpJ ] . geographicdescription . replace ( / ' / g , "&#39;" ) . replace ( / " / g , "&#34;" ) ; d3 . select ( cell ) . html ( '<a href="' + filtDoi [ tmpJ ] . doi + '" target="_blank" title="Open in EDI">' + tmpText + '</a>' + '<span><i class="fa fa-font" data-toggle="tooltip" data-container="#resultsContainer" data-placement="auto" data-html="true" title="<p><b><u>Abstract</u></b></p><p>' + tmpStr . abstract + '</p>"></i></span>' + '<span><i class="fa fa-info-circle" data-toggle="tooltip" data-container="#resultsContainer" data-placement="auto" data-html="true" title="<p><b><u>ID</u></b></p><p>' + tmpStr . id + '</p>"></i></span>' + '<span><i class="fa fa-map-marker" data-toggle="tooltip" data-container="#resultsContainer" data-placement="auto" data-html="true" title="<p><b><u>Geographic Description</u></b></p><p>' + tmpStr . geographicdescription + '</p>"></i></span>' ) ; } ) ; }
Function to add DOI link, abstract, methods, and geographic location to title column of table
Function to add DOI link abstract methods and geographic location to title column of table