getFilings
retrieves EDGAR filings for a specific CIKs, form-type,
filing year and quarter of the filing.
getFilings(cik.no, form.type, filing.year, quarter, downl.permit)
Function downloads EDGAR filings and returns download status in dataframe format with CIK, company name, form type, date filed, accession number, and download status.
vector of CIK number of firms in integer format. Suppress leading zeroes from CIKs. Keep cik.no = 'ALL' if needs to download for all CIKs.
character vector containing form type to be downloaded. form.type = 'ALL' if need to download all forms.
vector of four digit numeric year
vector of one digit quarter integer number. By default, it is kept as c(1 ,2, 3, 4).
"y" or "n". The default value of downl.permit is "n". It asks a user permission to download fillings. This permission helps the user to decide in case if number of filings are large. Setting downl.permit = "y" will not ask for user permission to download filings.
getFilings function takes CIKs, form type, filing year, and quarter of the filing as input. It creates new directory "edgar_Filings" to store all downloaded filings. All the filings will be stored in the current working directory. Keep the same current working directory for further process. 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.