<commit_before>require "chicago_employees/version"
require "chicago_employees/employee"

module ChicagoEmployees
  def self.employees
    employees = []
    employee_hashes = Unirest.get("http://data.cityofchicago.org/resource/xzkq-xp2w.json").body
    employee_hashes.each do |hash|
      employees << Employee.new(hash)
    end
    employees
  end
end<commit_msg>changed method name and required unirest<commit_after>require 'unirest'

require "chicago_employees/version"
require "chicago_employees/employee"

module ChicagoEmployees
  def self.all
    employees = []
    employee_hashes = Unirest.get("http://data.cityofchicago.org/resource/xzkq-xp2w.json").body
    employee_hashes.each do |hash|
      employees << Employee.new(hash)
    end
    employees
  end
end
{'fraction_non_alphanumeric': 0.0987012987012987, 'fraction_numerical': 0.0025974025974025974, 'mean_word_length': 4.244897959183674, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5751924', 'n_tokens_mistral': 260, 'n_tokens_neox': 254, 'n_words': 46}