get8KItems {edgar} | R Documentation |
Retrieves Form 8-K event information
Description
get8KItems
retrieves Form 8-K event information of firms based on CIK numbers
and filing year.
Usage
get8KItems(cik.no, filing.year)
Arguments
cik.no |
vector of CIK(s) in integer format. Suppress leading zeroes from CIKs. |
filing.year |
vector of four digit numeric year |
Details
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 https://www.sec.gov/os/accessing-edgar-data.
Value
Function returns dataframe with Form 8-K events information along with CIK number, company name, date of filing, and accession number.
Examples
## Not run:
output <- get8KItems(cik.no = 38079, filing.year = 2005)
## Returns 8-K event information for CIK '38079' filed in year 2005.
output <- get8KItems(cik.no = c(1000180,38079),
filing.year = c(2005, 2006))
## End(Not run)