get_13f_meta: Retrieve Meta Information for a 13F filing.

Description Usage Arguments Examples

View source: R/master_index.R

Description

get_13f_meta retrieves and parses a company's 13F filings or the links to the filings.

Usage

1
get_13f_meta(cik, year, amendments = FALSE, link_only = FALSE)

Arguments

cik

Central index key of a company.

year

Which year or time period of filings.

amendments

Include 13F-HR/A when retrieving — only works when link_only = TRUE. Defaults to FALSE.

link_only

Do not retrieve full filing but only link to it.

Examples

1
2
3
4
5
6
# Get and parse BlackRock's 2015 13F filings.
cik_blackrock <- "1364742"
get_13f_meta(cik = cik_blackrock, year = 2015, link_only = FALSE)
# Get the links to the Swiss National Bank's 2016 to 2019 filings.
cik_snb <- "1582202"
get_13f_meta(cik = cik_snb, year = 2016:2019, amendments = TRUE, link_only = TRUE)

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