def METHOD_NAME(self, ec_parties_data):
    for ec_party in ec_parties_data:
        ec_party_id = ec_party["ECRef"].strip()
        # We're only interested in political parties:
        if not ec_party_id.startswith("PP"):
            continue
        party_id = self.clean_id(ec_party_id)
        if ec_party["RegulatedEntityTypeName"] == "Minor Party":
            register = ec_party["RegisterNameMinorParty"].replace(
                " (minor party)", ""
            )
        else:
            register = ec_party["RegisterName"]
        party_name, party_dissolved = self.clean_name(
            ec_party["RegulatedEntityName"]
        )
        party_founded = self.clean_date(ec_party["ApprovedDate"])
        # Does this party already exist?  If not, create a new one.
        try:
            party = Organization.objects.get(slug=party_id)
            print("Got the existing party:", party.name)
        except Organization.DoesNotExist:
            party = Organization.objects.create(
                name=party_name, slug=party_id
            )
            print(
                "Couldn't find {}, creating a new party {}".format(
                    party_id, party_name
                )
            )
        party.name = party_name
        party.classification = "Party"
        party.founding_date = party_founded
        party.end_date = party_dissolved
        party.register = register
        {
            "Great Britain": self.gb_parties,
            "Northern Ireland": self.ni_parties,
        }[register].parties.add(party)
        party.identifiers.update_or_create(
            scheme="electoral-commission",
            defaults={"identifier": ec_party_id},
        )
        party.other_names.filter(note="registered-description").delete()
        for d in get_descriptions(ec_party):
            value = d["description"]
            translation = d["translation"]
            if translation:
                value = "{} | {}".format(value, translation)
            party.other_names.create(
                name=value, note="registered-description"
            )
        party.save()