Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve labelling of downloaded files #56

Open
nono-london opened this issue Jan 24, 2021 · 3 comments
Open

Improve labelling of downloaded files #56

nono-london opened this issue Jan 24, 2021 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@nono-london
Copy link

Hello,
Thanks for this code.
I was wondering, if it was possible to have a more meaningful file labelling: "yyyy_mm_dd" +"filetype" for instance?
Best and thank you

@jadchaar jadchaar added the enhancement New feature or request label Jan 24, 2021
@jadchaar jadchaar changed the title Labelling of downloaded files - improvement? Improve labelling of downloaded files Jan 24, 2021
@jadchaar
Copy link
Owner

jadchaar commented Jan 24, 2021

Thanks for the feature request @nono-london! Since v4 is now using the Search API, obtaining such information from the API response payload is very easy and I should be able to add this naming scheme change in the future!

@Jennyyanhuadong
Copy link

Jennyyanhuadong commented Sep 26, 2021

I agree with 'nono-london'. An R package at https://cran.r-project.org/web/packages/edgar/edgar.pdf downloads files with labels that include cik, filing date, and accession number, such as '3116_8-K_2012-01-03_0001157523-11-007356'. Hope the 'sec-edgar-downloader' also includes these components in the labels.

@jadchaar jadchaar added this to the v5 milestone Jan 8, 2022
@ilhamait28
Copy link

ilhamait28 commented Feb 20, 2022

Hello,
Thank you for the code!
I used the code to download the 10-k txt filings (without download_details) thanks to these lines:

from sec_edgar_downloader import Downloader
dl = Downloader()
dl.get("10-K", "MSFT", download_details=False)

I noticed that each txt file comes in a different folder, and all filings are labeled the same "full-submission.txt" which makes it hard to identify unless we check the folder's label itself.

Is there a possibility to have the txt files labeled the same as the folders? or to download them in one folder with the same labels that appear in EDGAR (e.g. for MSFT, the 10-K filing final submission for 2021 is 0001564590-21-039151.txt)

https://www.sec.gov/Archives/edgar/data/0000789019/000156459021039151/0001564590-21-039151-index.htm

Many thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants