get8KItems {edgar}R Documentation

Retrieves Form 8-K event information


get8KItems retrieves Form 8-K event information of firms based on CIK numbers and filing year.


get8KItems(, filing.year, useragent)


vector of CIK(s) in integer format. Suppress leading zeroes from CIKs.


vector of four digit numeric year


Should be in the form of "Your Name"


get8KItems function takes firm CIK(s) and filing year(s) as input parameters from a user and provides information on the Form 8-K triggering events along with the firm filing information. The function searches and imports existing downloaded 8-K filings in the current directory; otherwise it downloads them using getFilings function. It then reads the 8-K filings and parses them to extract events information. According to SEC EDGAR's guidelines a user also needs to declare user agent.


Function returns dataframe with Form 8-K events information along with CIK number, company name, date of filing, and accession number.


## Not run: 

output <- get8KItems( = 38079, filing.year = 2005, useragent)
## Returns 8-K event information for CIK '38079' filed in year 2005.

output <- get8KItems( = c(1000180,38079), 
                     filing.year = c(2005, 2006), useragent) 

## End(Not run)

[Package edgar version 2.0.5 Index]