code: def by_type(self, chamber, type, congress=CURRENT_CONGRESS):
          "Return votes by type: missed, party, lone no, perfect"
          check_chamber(chamber)
  
          path = "{congress}/{chamber}/votes/{type}.json".format(
              congress=congress, chamber=chamber, type=type)
          return self.fetch(pathf by_type(self, chamber, type, congress=CURRENT_CONGRESS):
          "Return votes by type: missed, party, lone no, perfect"
          check_chamber(chamber)
  
          path = "{congress}/{chamber}/votes/{type}.json".format(
              congress=congress, chamber=chamber, type=type)
          return self.fetch(path)
docs: Return votes by type: missed, party, lone no, perfect