def clients_erb
      retdict = {
        enabled: @config[:clients][:enabled],
        top: [],
        nottop: []
      }

      if @config[:clients][:enabled]
        top = @parsed[:clients].slice(0, @config[:clients][:top]) # top X clients
        top.each do |client|
          retdict[:top] << {
            name: client[1][:name],
            url: client[1][:url],
            count: client[1][:count],
            percentage: (client[1][:count] * 100 / @parsed[:tweet_count].to_f).round(2)
          }
        end

        nottop = @parsed[:clients].slice(@config[:clients][:top], @config[:clients][:notop]) # not in the top X
        unless nottop.nil?
          nottop.each do |client|
            client[1].delete(:example)
            retdict[:nottop] << {
              name: client[1][:name],
              url: client[1][:url],
              count: client[1][:count],
              percentage: (client[1][:count] * 100 / @parsed[:tweet_count].to_f).round(2)
            }
          end
        end
      end

      retdict
    end
def clients_erb
      retdict = {
        enabled: @config[:clients][:enabled],
        top: [],
        nottop: []
      }

      if @config[:clients][:enabled]
        top = @parsed[:clients].slice(0, @config[:clients][:top]) # top X clients
        top.each do |client|
          retdict[:top] << {
            name: client[1][:name],
            url: client[1][:url],
            count: client[1][:count],
            percentage: (client[1][:count] * 100 / @parsed[:tweet_count].to_f).round(2)
          }
        end

        nottop = @parsed[:clients].slice(@config[:clients][:top], @config[:clients][:notop]) # not in the top X
        unless nottop.nil?
          nottop.each do |client|
            client[1].delete(:example)
            retdict[:nottop] << {
              name: client[1][:name],
              url: client[1][:url],
              count: client[1][:count],
              percentage: (client[1][:count] * 100 / @parsed[:tweet_count].to_f).round(2)
            }
          end
        end
      end

      retdict
    end
Returns an array with the clients which can be easily used within ERB.