Learn R Programming

edgar (version 1.0.9)

getWordfrquency: Creates words frequency dataframe from EDGAR filing.

Description

getWordfrquency creates word frequency dataframe using filing text.

Usage

getWordfrquency(filepath)

Arguments

filepath

Path of downloaded filing.

Value

Function returns words frequency dataframe.

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.

Examples

Run this code
# NOT RUN {
word.frq <- getWordfrquency('Edgar Filings/1000180_10-K_2006/1000180_10-K_2006-03-15.txt')
# }

Run the code above in your browser using DataLab