company_filings: SEC Company Filings

Description Usage Arguments Value Examples

View source: R/company_filings.R

Description

SEC Company Filings

Usage

1
2
3
4
5
6
7
8
company_filings(
  x,
  ownership = FALSE,
  type = "",
  before = "",
  count = 40,
  page = 1
)

Arguments

x

either a stock ticker, CIK number, or XML document for a company page

ownership

boolean for inclusion of company change filings

type

Type of filing to fetch. NOTE: due to the way the SEC EDGAR system works, it is actually is a 'starts-with' search, so for instance specifying 'type = "10-K" will return "10-K/A" and "10-K405" filings as well. To ensure you only get the type you want, best practice would be to filter the results.

before

yyyymmdd format of latest filing to fetch

count

Number of filings to fetch per page. Valid options are 10, 20, 40, 80, or 100. Other values will result in the closest count.

page

Which page of results to return.

Value

A dataframe of company filings

Examples

1
try(company_filings("AAPL", before = "20170810"))

edgarWebR documentation built on April 24, 2021, 5:09 p.m.