Tutorial

To search papers on IEEE, Arxiv or Paper with Code platforms:

import trendflow as tf
tf.search_papers('machine learning', 2018, 2022, 50, to_pandas=True)

To analyze the research trends:

import trendflow as tf
result = tf.trends_analysis('machine learning', 50,2018,2022,platforms=['IEEE','Arxiv'])
ieee_clusters, ieee_articles = result['ieee']

# all the papers returned from IEEE
print(ieee_articles) 

# check the information of the clusters
print(ieee_clusters) 

# check the top-5 keyphrases of the first cluster
print(ieee_clusters[0].top_5_keyphrases) 

# get the indexes of articles in the first cluster
indexes = ieee_clusters[0].get_elements() 

# get the articles in the first cluster
articles = [ieee_articles[i] for i in indexes]

Colab Example: link