manusimidt / py-xbrl

Python-based parser for parsing XBRL and iXBRL files

Home Page:https://py-xbrl.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New 2022 taxonomies

mrx23dot opened this issue · comments

Hi, I've got the batch of missing taxonomies for 2022: (where it says .html just use the .xml version)

Fill: 2022-06-25 Q1 TRNS usr: https://www.sec.gov/Archives/edgar/data/0000099302/000120677422001900/transcat4090061-10q_htm.xml
  error The 4omy with namespace http://fasb.org/srt/2022 could not be found. Please check if it is imported in the schema file
Fill: 2022-06-30 Q2 KNDI usr: https://www.sec.gov/ix?doc=/Archives/edgar/data/0001316517/000121390022045201/f10q0622_kanditech.htm
  error The 4omy with namespace http://fasb.org/us-gaap/2022 could not be found. Please check if it is imported in the schema file
Fill: 2022-06-30 Q2 NUVR usr: https://www.sec.gov/ix?doc=/Archives/edgar/data/0000071557/000151316222000106/nuvr-20220630.htm
  error The taxonomy with namespace http://fasb.org/srt/2022 could not be found. Please check if it is imported in the schema file
Fill: 2022-05-31 Q1 NXTP usr: https://www.sec.gov/ix?doc=/Archives/edgar/data/0001372183/000121390022039436/f10q0522_nextplay.htm
  error The taxonomy with namespace http://fasb.org/us-gaap/2022 could not be found. Please check if it is imported in the schema file
Fill: 2022-04-30 Q3 RFL usr: https://www.sec.gov/ix?doc=/Archives/edgar/data/0001713863/000121390022032831/f10q0422_rafaelholdings.htm
  error The taxonomy with namespace http://xbrl.sec.gov/dei/2021q4 could not be found. Please check if it is imported in the schema file
Fill: 2022-06-30 Q1 GDST usr: https://www.sec.gov/ix?doc=/Archives/edgar/data/0001858007/000121390022047219/f10q0622_goldenstone.htm
  error The taxonomy with namespace http://xbrl.sec.gov/dei/2022 could not be found. Please check if it is imported in the schema file

sorry that it took so long, I was on vacation.
I added the taxonomies and tried all the filings you got the error for.

If you find additional taxonomies that need to be added please write them into this issue.

Cheers, meanwhile I added an auto download for US taxonomies
mrx23dot@af1355d
you could mention the source url in comment so people will know where to look.

@mrx23dot Yes, probably a very smart thing to automatically download the namespace to schemaurl mappings from the list of EDGAR Taxonomies. In any case, better than a static list that you always have to maintain yourself...

You are welcome to open a pull request with this code! Or do you want me to just copy the two functions and include them in the library?

Yeah, copy it however you want it, I though you might want it to be a manual call. In case edgar changes url which would delay loading the lib by 5*N secs.
Also not everyone will have net access, and not everyone will uses it with edgar.