Provides a simple, ticker-based interface for retrieving fundamental financial data from the United States Securities and Exchange Commission's 'EDGAR' 'XBRL' API <https://www.sec.gov/edgar/sec-api-documentation>. Functions return key financial ratios including earnings per share, return on equity, return on assets, debt-to-equity, current ratio, gross margin, operating margin, net margin, price-to-earnings, price-to-book, and dividend yield for any publicly traded U.S. company. Data is sourced directly from company 10-K annual filings, requiring no API key or paid subscription. Designed for use in quantitative finance courses and research workflows.
| Version: | 0.1.1 |
| Depends: | R (≥ 4.1.0) |
| Imports: | dplyr (≥ 1.1.0), httr (≥ 1.4.0), jsonlite (≥ 1.8.0), rlang, tidyquant (≥ 1.0.0) |
| Suggests: | knitr, rmarkdown |
| Published: | 2026-03-26 |
| DOI: | 10.32614/CRAN.package.edgarfundamentals (may not be active yet) |
| Author: | Robert Schumaker |
| Maintainer: | Robert Schumaker <rob.schumaker at gmail.com> |
| BugReports: | https://github.com/robschumaker/edgarfundamentals/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/robschumaker/edgarfundamentals |
| NeedsCompilation: | no |
| Materials: | README |
| CRAN checks: | edgarfundamentals results |
| Reference manual: | edgarfundamentals.html , edgarfundamentals.pdf |
| Vignettes: |
Fundamental Analysis with edgarfundamentals (source, R code) |
| Package source: | edgarfundamentals_0.1.1.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): edgarfundamentals_0.1.1.tgz, r-oldrel (arm64): not available, r-release (x86_64): edgarfundamentals_0.1.1.tgz, r-oldrel (x86_64): edgarfundamentals_0.1.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=edgarfundamentals to link to this page.