Skip to content

Latest commit

 

History

History

form13

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

form13

To start the Form-13 downloader run this:

python download.py

optional arguments:
-s, --start-date, Start date in the format yyyy-mm-dd (default: 2022-01-01)
-e, --end-date, End date in the format yyyy-mm-dd (default: 2023-08-01)
-o, --output-directory, Local directory to write forms to (default: data/form13-raw/)

Parse and Format

Once you have all the raw forms downloaded, this file will parse and format them into a csv file.

python parse-and-format.py -p 4

optional arguments:
-i, --input-directory, Directory containing raw EDGAR files (default: data/form13-raw/)
-o, --output-file, Local path + file name to write formatted csv too (default: data/form13.csv)
-p, --top-periods, Only include data from `n` most recent report quarters (default: None)

Create One Day Sample

We need a daily sample of form13 data for use in exploration and learning in the labs. You can run the Python notebook one-day-sample.ipynb to create that. It will make a file ./data/form13-2023-05-11.csv.