get_top_term_papers: Get papers for top "N" terms

Description Usage Arguments

Description

Indicate the top terms from which we want to extract papers. For instance, if we want the papers for the top 10 terms, we set top_terms = 10.

Usage

1
2
get_top_term_papers(papers, tdm_matrix, top_terms, terms = NULL,
  verbose = FALSE)

Arguments

papers

a dataframe with papers

tdm_matrix

a Term Document Matrix

top_terms

top 10, or top 20, etc.

terms

a term or vector of terms to get papers from

verbose

set to TRUE to show progress


petro.One documentation built on May 2, 2019, 3:10 p.m.