## Not run:
#
# compustat.data <- read.csv('compustat_data.csv')
# ## User needs to input compustat data in data frame format.
#
# words.list <- scan(system.file('data/negwords.txt', package = 'edgar'), what='character')
# ## USer can apply any desired user defined dictionary other than
# ## default dictionaries from this package.
#
# ## For single cik
# res <- mergeCompustat <- function( 2098, 2014, words.list, compustat.data)
#
# # User can provide list of different CIK's.
# cik.no <- c(1750,6201,2098)
# res <- mergeCompustat <- function( cik.no, 2014, words.list, compustat.data)
#
# ## End(Not run)
Run the code above in your browser using DataLab