def group_by_event(json_, type_):
    """
    pulls out one specific event type from event_json and 
    returns a list of those specific events.

    inputs
    -----
    json_: json object
    type_: type of event ex ('Shot', 'Pass')
    """
    events = []
    for event in json_:
        event_type = event['type']['name']
        if event_type == type_:
            events.append(event)
    return events