View source: R/getDailyMaster.R
getDailyMaster | R Documentation |
getDailyMaster
retrieves daily master index from the U.S. SEC EDGAR server.
getDailyMaster(input.date, useragent)
input.date |
in character format 'mm/dd/YYYY'. |
useragent |
Should be in the form of "YourName Contact@domain.com" |
getDailyMaster function takes date as an input parameter from a user, and downloads master index for the date from the U.S. SEC EDGAR server www.sec.gov/Archives/edgar/daily-index/. It strips headers and converts this daily filing information into dataframe format. Function creates new directory 'edgar_DailyMaster' into working directory to save these downloaded daily master index files in Rda format. User must follow the US SEC's fair access policy, i.e. download only what you need and limit your request rates, see www.sec.gov/os/accessing-edgar-data.
Function returns filings information in a dataframe format.
## Not run:
output <- getDailyMaster('08/09/2016', useragent)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.