def METHOD_NAME(request):  # allBallotItemsRetrieve
    """
    Return all the ballot data requested for an election
    :param request:
    :return:
    """
    # If passed in, we want to look at
    google_civic_election_id = convert_to_int(request.GET.get('google_civic_election_id', 0))
    state_code = request.GET.get('state_code', '')
    use_test_election = positive_value_exists(request.GET.get('use_test_election', False))
    if use_test_election:
        google_civic_election_id = 2000  # The Google Civic test election
    json_data = all_ballot_items_retrieve_for_api(google_civic_election_id, state_code)
    return HttpResponse(json.dumps(json_data), content_type='application/json')