Skip to content

edgarfundamentals

Retrieve Fundamental Financial Data from SEC 'EDGAR'

v0.1.2 · Mar 27, 2026 · MIT + file LICENSE

Description

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.

Downloads

CRAN

196

Last 30 days

23274th

690

Last 90 days

918

Last year

Trend: +1.6% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

38

Last 90 days

253

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

3

Last 7 days

7

Last 30 days

2

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘tidyquant’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026

Code

Structure

Lines of code

887

Files

24

Compiled share

0%

Has compiled src

No

Language breakdown

R 458 (51.6%)Docs 259 (29.2%)Vignettes 170 (19.2%)

API

Exported functions

4

Internal functions

4

Recent export changes

v0.1.1+4 get_cik, get_filing_history, get_fundamentals +1 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

100%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

66.7%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2026-03-26

Latest release

2026-03-27

Avg cadence

1 days

Cold removal rate

Dep drift

1

LOC over versions

v0.1.1: 877 LOCv0.1.2: 887 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies cli dplyr httr jsonlite rlang tidyquant edgarfundamentals

Version History

2 tracked
updated 0.1.2 ← 0.1.1 diff Mar 27, 2026
new 0.1.1 Mar 26, 2026