append_top_words: Top Words for PubMed Abstracts

Description Usage Arguments Details Value See Also Examples

Description

append_tfidf Finds words with the top tf-idf scores for each abstract entry in the dataframe.

Usage

1
append_top_words(abstracts_dataframe, num_words = 30)

Arguments

abstracts_dataframe

A DataFrame returned from the get_pubmed_abstracts function. Must already have tf-idf scores calculated from append_tfidf

Details

append_tfidf Given a dataframe returned from the get_pubmed_abstracts function that already has tf-idf scores calculated from append_tfidf, append a column to the DataFrame of the words with the top tf-idf scores.

Value

A DataFrame.

See Also

get_pubmed_abstracts append_tfidf

Examples

1
abstracts_with_topwordsf <- append_top_words(abstracts_df_with_tfidf)

jlee118/tmine documentation built on May 15, 2019, 9:14 p.m.