def flatten_fos(row):
    """Flatten field of study info into a list

    Args:
        row (dict): Row of article data containing a field of study field
    Returns:
        fields_of_study (list): Flat list of fields of study
    """
    return [f for fields in row['fields_of_study']['nodes']
            for f in fields if f != []]