Gets or creates the APElectionMeta object for the given row of
        AP data.

def get_or_create_ap_election_meta(self, row, election):
        """
        Gets or creates the APElectionMeta object for the given row of
        AP data.
        """
        APElectionMeta.objects.get_or_create(
            ap_election_id=row["raceid"], election=election
        )