Package: secfile 0.1.2
secfile: SEC 'EDGAR' APIs
Simple and efficient access to the SEC's 'EDGAR' APIs <https://www.sec.gov/search-filings> for querying and retrieving filings. The 'secfile' package abstracts the complexities of interacting with SEC EDGAR APIs, such as session management, user agent declaration, rate limiting, index parsing, pagination of filing metadata, URL construction, document caching, and inline XBRL parsing. This abstraction allows users to focus on retrieving data rather than managing API details. Use cases include retrieving data across a range of workflows such as indexes, tenures, submissions, and facts. The package supports flexible query capabilities, including customizable form types, date ranges, and dimensions, and validates the retrieved data automatically. It handles the SEC's fair access requirements, such as user agent declaration and rate limiting between requests, and caches downloaded documents for efficient retrieval of large datasets. The implementation uses standard HTTP libraries to handle API interactions efficiently and supports both R and 'Python' to make it accessible for a broad audience.
Authors:
secfile_0.1.2.tar.gz
secfile_0.1.2.zip(r-4.7-any)secfile_0.1.2.zip(r-4.6-any)secfile_0.1.2.zip(r-4.5-any)
secfile_0.1.2.tgz(r-4.6-any)secfile_0.1.2.tgz(r-4.5-any)
secfile_0.1.2.tar.gz(r-4.7-any)secfile_0.1.2.tar.gz(r-4.6-any)
secfile_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
secfile/json (API)
| # Install 'secfile' in R: |
| install.packages('secfile', repos = c('https://jasonjfoster.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jasonjfoster/file/issues
- data_forms - Forms Data for the SEC EDGAR APIs
- data_items - Items Data for the SEC EDGAR APIs
Last updated from:0f3f9ca5b3. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 513 | ||
| source / vignettes | OK | 166 | ||
| linux-release | OK | 491 | ||
| macos-release | OK | 501 | ||
| macos-oldrel | OK | 425 | ||
| windows-devel | OK | 290 | ||
| windows-release | OK | 478 | ||
| windows-oldrel | OK | 410 | ||
| wasm-release | OK | 101 |
Exports:create_tenuresget_ciksget_dataget_indexget_sessionget_submissions
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| SEC 'EDGAR' APIs | secfile-package secfile |
| Create Tenures for the SEC EDGAR APIs | create_tenures |
| Forms Data for the SEC EDGAR APIs | data_forms |
| Items Data for the SEC EDGAR APIs | data_items |
| Get CIKs from the SEC EDGAR APIs | get_ciks |
| Get Data from the SEC EDGAR APIs | get_data |
| Get Index from the SEC EDGAR APIs | get_index |
| Get the Handle for the SEC EDGAR APIs | get_session |
| Get Submissions from the SEC EDGAR APIs | get_submissions |