get_list_of_filings: Retrieve a list of a company's SEC filings.

Description Usage Arguments Details Examples

View source: R/master_index.R

Description

get_list_of_filings searches the EDGAR archive for any filings a company has submitted in a given year.

Usage

1
get_list_of_filings(cik, year, filing_type = "all")

Arguments

cik

Central index key of a company.

year

Which year or time period of filings.

filing_type

Type of filing, defaults to all.

Details

The function returns a tibble with the .txt links to a company's filings, some meta information for said filings itself and the meta information.

Examples

1
2
3
4
5
6
7
# Retrieve all filings made by the Swiss National Bank in 2013.
swiss_national_bank_cik <- "1582202"
get_list_of_filings(cik = swiss_national_bank_cik, 2013)
# Retrieve meta information about 13F-HR but not 13F-HR/A filings by BlackRock and UBS from 2014 to 2016.
ubs_cik <- "1114446"
blackrock_cik <- "1364742"
get_list_of_filings(cik = c(blackrock_cik, ubs_cik), year = 2014:2016, filing_type = "13F-HR")

balthasars/tidysec documentation built on Dec. 19, 2021, 6:41 a.m.