original_string: private function selectColumnToExclude($columnToFilter, $row)
      {
          if ($row->hasColumn($columnToFilter)) {
              return $columnToFilter;
          }
  
          // filter_excludelowpop=nb_visits but the column name is still Metrics::INDEX_NB_VISITS in the table
          $columnIdToName = Metrics::getMappingFromNameToId();
          if (isset($columnIdToName[$columnToFilter])) {
              $column = $columnIdToName[$columnToFilter];
  
              if ($row->hasColumn($column)) {
                  return $column;
              }
          }
  
          return $columnToFilter;
      }
code: private function selectColumnToExclude($columnToFilter, $row)
      {
          if ($row->hasColumn($columnToFilter)) {
              return $columnToFilter;
          }
  
          // filter_excludelowpop=nb_visits but the column name is still Metrics::INDEX_NB_VISITS in the table
          $columnIdToName = Metrics::getMappingFromNameToId();
          if (isset($columnIdToName[$columnToFilter])) {
              $column = $columnIdToName[$columnToFilter];
  
              if ($row->hasColumn($column)) {
                  return $column;
              }
          }
  
          return $columnToFilter;
      }
code_tokens: private function selectColumnToExclude ( $ columnToFilter , $ row ) { if ( $ row -> hasColumn ( $ columnToFilter ) ) { return $ columnToFilter ; } // filter_excludelowpop=nb_visits but the column name is still Metrics::INDEX_NB_VISITS in the table $ columnIdToName = Metrics :: getMappingFromNameToId ( ) ; if ( isset ( $ columnIdToName [ $ columnToFilter ] ) ) { $ column = $ columnIdToName [ $ columnToFilter ] ; if ( $ row -> hasColumn ( $ column ) ) { return $ column ; } } return $ columnToFilter ; }
docstring: Sets the column to be used for Excluding low population
  
  @param DataTable\Row $row
  @return int
docstring_tokens: Sets the column to be used for Excluding low population