EDGAR submissions are organized fairly regularly. These functions help to fint the URL to submission components.

submission_index_href(cik, accession)

submission_href(cik, accession)

submission_file_href(cik, accession, filename)

Arguments

cik

Company code

accession

accession number for a filing

filename

filename provided in a submission

Value

A string with URL requested

Functions

  • submission_href: Creates a link to the master submission sgml submission file

  • submission_file_href: provides the link to a given file within a particular submission.

Examples

submission_index_href("0000712515", "0000712515-17-000090")
#> [1] "https://www.sec.gov/Archives/edgar/data/712515/000071251517000090/0000712515-17-000090-index.htm"
submission_href("0000712515", "0000712515-17-000090")
#> [1] "https://www.sec.gov/Archives/edgar/data/712515/000071251517000090/0000712515-17-000090.txt"
submission_file_href("0000712515", "0000712515-17-000090", "pressrelease-ueberroth.htm")
#> [1] "https://www.sec.gov/Archives/edgar/data/712515/000071251517000090/pressrelease-ueberroth.htm"