def prepare(hash, start, end_time, name, sources = '', sample = 100)
      params = {
        :hash => hash,
        :start => start,
        :end => end_time,
        :name => name,
        :sources => sources,
        :sample => sample
      }
      requires params
      DataSift.request(:POST, 'historics/prepare', @config, params)
    end
def prepare(hash, start, end_time, name, sources = '', sample = 100)
      params = {
        :hash => hash,
        :start => start,
        :end => end_time,
        :name => name,
        :sources => sources,
        :sample => sample
      }
      requires params
      DataSift.request(:POST, 'historics/prepare', @config, params)
    end
Prepare a new Historics query

 @param hash [String] Hash of compiled CSDL filter
 @param start [Integer] Start timestamp for your Historics Query. Should be
   provided as a Unix timestamp
 @param end_time [Integer] End timestamp for your Historics Query. Should
   be provided as a Unix timestamp
 @param name [String] The name of your Historics query
 @param sources [String] Comma separated list of data sources you wish to
   query
 @param sample [Integer] Sample size of your Historics query
 @return [Object] API reponse object