def to_dataframe(self, raw_article):
    'A function which takes a dictionary with structure of the IEEE\n        results and transform it to a standardized format.\n        '
    raw_article['url'] = raw_article.get('html_url', None)
    try:
        raw_article['author'] = [author['full_name'] for author in raw_article['authors']['authors']]
    except KeyError:
        raw_article['author'] = ['No authors found for this document.']
    raw_article['abstract'] = raw_article.get('abstract', None)
    if (raw_article['content_type'] == 'Conferences'):
        date = raw_article.get('conference_dates', None)
    else:
        date = raw_article.get('publication_date', None)
    if (date is not None):
        date = int(date.split(' ')[(- 1)])
    raw_article['date'] = date
    category = raw_article.get('index_terms', None)
    if (category is not None):
        try:
            category = category['author_terms']['terms']
        except KeyError:
            try:
                category = category['ieee_terms']['terms']
            except KeyError:
                category = None
    raw_article['doi'] = raw_article.get('doi', None)
    raw_article['category'] = category
    raw_article['journal'] = raw_article.get('publication_title', None)
    raw_article['provenance'] = 'IEEE'
    (raw_article['key'], raw_article['unique_key']) = self.create_keys(raw_article)
    raw_article['open_access'] = (raw_article['access_type'] == 'OPEN_ACCESS')
    raw_article['score'] = 'Not available'
    return self.dict_to_dataframe(raw_article)
A function which takes a dictionary with structure of the IEEE
results and transform it to a standardized format.
def to_dataframe(self, raw_article):
    'A function which takes a dictionary with structure of the IEEE\n        results and transform it to a standardized format.\n        '
    raw_article['url'] = raw_article.get('html_url', None)
    try:
        raw_article['author'] = [author['full_name'] for author in raw_article['authors']['authors']]
    except KeyError:
        raw_article['author'] = ['No authors found for this document.']
    raw_article['abstract'] = raw_article.get('abstract', None)
    if (raw_article['content_type'] == 'Conferences'):
        date = raw_article.get('conference_dates', None)
    else:
        date = raw_article.get('publication_date', None)
    if (date is not None):
        date = int(date.split(' ')[(- 1)])
    raw_article['date'] = date
    category = raw_article.get('index_terms', None)
    if (category is not None):
        try:
            category = category['author_terms']['terms']
        except KeyError:
            try:
                category = category['ieee_terms']['terms']
            except KeyError:
                category = None
    raw_article['doi'] = raw_article.get('doi', None)
    raw_article['category'] = category
    raw_article['journal'] = raw_article.get('publication_title', None)
    raw_article['provenance'] = 'IEEE'
    (raw_article['key'], raw_article['unique_key']) = self.create_keys(raw_article)
    raw_article['open_access'] = (raw_article['access_type'] == 'OPEN_ACCESS')
    raw_article['score'] = 'Not available'
    return self.dict_to_dataframe(raw_article)