ScrapeSEC.jl

Scrape EDGAR filings from https://www.sec.gov/
Author tylerjthomas9
Popularity
12 Stars
Updated Last
5 Months Ago
Started In
March 2021

Stable Lifecycle:Stable CI Code Style: Blue Coverage Aqua QA

ScrapeSEC.jl

Installation

From the Julia General Registry:

julia> ]  # enters the pkg interface
pkg> add ScrapeSEC
julia> using Pkg; Pkg.add("ScrapeSEC")

From source:

julia> ]  # enters the pkg interface
pkg> add https://github.com/tylerjthomas9/ScrapeSEC.jl

Examples

Download filing metadata for 2020-2022 from the SEC archives.

using ScrapeSEC
download_metadata_files(2020, 2022)

Download 10-K, 8-K, and 10-Q metadata, filings for 2020-2022

using ScrapeSEC
download_filings(2020, 2022; filing_types=["10-K", "8-K", "10-Q"])

Download filing metadata for 2020-2022, create a main index file, and download 10-Ks using the combined index file

using ScrapeSEC
download_metadata_files(2020, 2022)
create_main_index()
download_filings("./metadata/main_idx.tsv"; filing_types=["10-K", ])

Download filings from a vector of filenames

using CSV, DataFrames, ScrapeSEC
df = CSV.File("./metadata/main_idx.tsv", delim = "|") |> DataFrame
download_filings(df.FileName)

Citing

If you use ScrapeSEC.jl as part of your research, teaching, or other activities, we would be grateful if you could cite our work.

@misc{ScrapeSEC.jlPackage,
  author = {Tyler Thomas}
  title = {ScrapeSEC.jl}
  year = {2023}
  url = {https://tylerjthomas9.github.io/ScrapeSEC.jl/}
}

Other Julia Financial Data Packages

Not maintained:

Used By Packages

No packages found.