Package: edgarquery
EDGARqueryTable of ContentsInstallationpip install edgarqueryLicenseedgarqueryis distributed under the terms of theMITlicense.-[Usage]EQODIR  - the location to store the outputEQEMAIL - required by the SEC to download some of the files with curl.edgarqueryusage: edgarquery [-h] [--cik CIK] [--cy CY] [--frame FRAME] [--units UNITS][--fact FACT] [--directory DIRECTORY] [--file FILE][--companyconcept] [--companyfacts] [--xbrlframes][--companyfactsarchivezip] [--submissionszip][--financialstatementandnotesdataset]query SEC EDGAR site NOTE thæt EQEMAIL env variable is required and mustcontain a valid User-Agent such as your email addressoptions:-h, --help            show this help message and exit--cik CIK             10-digit Central Index Key--cy CY               calendar year e.g. CY2023, CY2023Q1, CY2023Q4I--frame FRAME         reporting frame e.g us-gaap, ifrs-full, dei, srt--units UNITS         USD or shares--fact FACT           fact to collect e.g AccountsPayableCurrent, USD-per-shares--directory DIRECTORYdirectory to store the output--file FILE           file in which to store the output argument allowed foreach query type if --directory is not provided, itshould be the full path--companyconcept      returns all the XBRL disclosures from a single company--cik required --frame - default us-gaap --fact -default USD-per-shares--companyfacts        aggregates one fact for each reporting entity that islast filed that most closely fits the calendricalperiod requested --cik required--xbrlframes          returns all the company concepts data for a CIK --cyrequired--companyfactsarchivezipreturns daily companyfacts index in a zip file--submissionszip      returns daily index of submissions in a zip file--financialstatementandnotesdatasetreturns zip file with financial statement and notessummaries --cy requirededgarsubmissionsusage: edgarsubmissions [-h] --cik CIK [--year YEAR] [--file FILE][--directory DIRECTORY]find the most recent submissions for cikoptions:-h, --help            show this help message and exit--cik CIK             10-digit Central Index Key--year YEAR           year to search for submissions if not current year--file FILE           store the output in this file--directory DIRECTORYstore the output in this directoryedgarxbrlframestocsvusage: edgarxbrlframestocsv [-h] --file FILE [--directory DIRECTORY]Parse an SEC EDGAR xbrlframes json file after it has been altered to deal withits multipart character and generate a csv file from its contentsoptions:-h, --help            show this help message and exit--file FILE           xbrl frames json file to process--directory DIRECTORYwhere to deposit the outputedgarcompanyconcepttocsvusage: edgarcompanyconcepttocsv [-h] --file FILE [--directory DIRECTORY]Parse an SEC EDGAR companyconcepts json file after it has been altered to dealwith its multipart character and generate a csv file from its contentsoptions:-h, --help            show this help message and exit--file FILE           json file to process--directory DIRECTORYwhere to deposit the fileѕedgarcompanyfactstocsvusage: edgarcompanyfactstocsv [-h] --file FILE [--directory DIRECTORY]Parse an SEC EDGAR companyfacts json file after it has been altered to dealwith its multipart character and generate CSV files from its contentoptions:-h, --help            show this help message and exit--file FILE           json file to process--directory DIRECTORYwhere to deposit the csv fileѕedgarcompanyfactsziptocsvusage: edgarcompanyfactsziptocsv [-h] --zipfile ZIPFILE[--directory DIRECTORY] [--files FILES]Extract one or more json files from an SEC EDGAR companyfacts.zip file andconvert to CSVoptions:-h, --help            show this help message and exit--zipfile ZIPFILE     submissions.zip file to process. Іt can be downloadædwith edgarquery.query--directory DIRECTORYwhere to deposit the output--files FILES         comma separated(no spaces) content file(s) to processa subset of the files in the zip fileedgarlatest10Kusage: edgarlatest10K [-h] --cik CIK [--link] [--directory DIRECTORY]find the most recent 10-K for cikoptions:-h, --help            show this help message and exit--cik CIK             10-digit Central Index Key--link                return the url for the latest 10-K--directory DIRECTORYdirectory to store the outputedgarlatestsubmissionsusage: edgarlatestsubmissions [-h] --cik CIK [--directory DIRECTORY][--file FILE]find the most recent submissions for cikoptions:-h, --help            show this help message and exit--cik CIK             10-digit Central Index Key--directory DIRECTORYdirectory to store the output--file FILE           json file to processedgarsubmissionsziptocsvusage: edgarsubmissionsziptocsv [-h] [--zipfile ZIPFILE][--directory DIRECTORY] [--files FILES]Extract one or more json files from an SEC EDGAR submissions.zip file andconvert to CSVoptions:-h, --help            show this help message and exit--zipfile ZIPFILE     submissions.zip file to process - required--directory DIRECTORYwhere to deposit the output--files FILES         comma separated(no spaces) content file(s) to processa subset of the files in the zip fileedgartickerstocsvusage: edgartickerstocsv [-h] [--directory DIRECTORY]collect EDGAR companyticker json files and convert them to csvoptions:-h, --help            show this help message and exit--directory DIRECTORYwhere to deposit the fileѕ