term_frequency: Word Frequency Dataframe

Description Usage Arguments Examples

Description

Returns a dataframe of words vs frequency

Usage

1
term_frequency(df, gram.min = 1, gram.max = 1)

Arguments

df

a dataframe with paper results

gram.min

minimum number of grams

gram.max

maximum number of grams

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
my_url <- make_search_url(query = "neural network",
                          from_year = 1990,
                          to_year   = 1999,
                          how = "all")
df <- onepetro_page_to_dataframe(my_url)
term_frequency(df)

## End(Not run)

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