getWordfrquency: Creates words frequency dataframe from EDGAR filing.

Description Usage Arguments Details Value Examples

View source: R/getWordfrquency.R

Description

getWordfrquency creates word frequency dataframe using filing text.

Usage

1
getWordfrquency(filepath)

Arguments

filepath

Path of downloaded filing.

Details

getWordfrquency function takes path of filing which can be downloaded using getFilings function. Function cleans text from filing and creates words frequency dataframe. This dataframe is used in getWordcloud, getWordHistogram, and getSentimentCount functions.

Value

Function returns words frequency dataframe.

Examples

1
2
3
4
5
## Not run: 

word.frq <- getWordfrquency('Edgar Filings/1000180_10-K_2006/1000180_10-K_2006-03-15.txt')

## End(Not run)

edgar documentation built on June 4, 2017, 9:45 p.m.