get8KItems | R Documentation |
get8KItems
retrieves Form 8-K event information of firms based on CIK numbers
and filing year.
get8KItems(cik.no, filing.year, useragent)
cik.no |
vector of CIK(s) in integer format. Suppress leading zeroes from CIKs. |
filing.year |
vector of four digit numeric year |
useragent |
Should be in the form of "YourName Contact@domain.com" |
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. User must follow the US SEC's fair access policy, i.e. download only what you need and limit your request rates, see www.sec.gov/os/accessing-edgar-data.
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(cik.no = 38079, filing.year = 2005, useragent)
## Returns 8-K event information for CIK '38079' filed in year 2005.
output <- get8KItems(cik.no = c(1000180,38079),
filing.year = c(2005, 2006), useragent)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.