Type: Package
Package: secfile
Title: SEC 'EDGAR' APIs
Version: 0.1.1
Authors@R: 
    person("Jason", "Foster", , "jason.j.foster@gmail.com", role = c("aut", "cre"))
Description: 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 filings 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 automatic
    data validation. It handles the SEC's fair access requirements
    automatically, 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 is available in
    both R and 'Python' for accessibility to a broad audience.
License: GPL (>= 2)
URL: https://github.com/jasonjfoster/file
BugReports: https://github.com/jasonjfoster/file/issues
Depends: R (>= 3.5.0)
Imports: curl, jsonlite, xml2
Suggests: covr, testthat
Config/roxygen2/old_usage: TRUE
Config/roxygen2/version: 8.0.0
Encoding: UTF-8
LazyData: true
NeedsCompilation: no
Packaged: 2026-08-03 11:16:20 UTC; jason
Author: Jason Foster [aut, cre]
Maintainer: Jason Foster <jason.j.foster@gmail.com>
Repository: CRAN
Date/Publication: 2026-08-08 12:30:02 UTC
Built: R 4.5.2; ; 2026-08-08 14:57:32 UTC; unix
