Closed peisuke closed 4 years ago
Solved.
import os
import xbrr
document_id = 'S100EZLO'
os.makedirs('output', exist_ok=True)
#xbrr.edinet.api.document.get_xbrl(document_id, save_dir='./output', expand_level="dir")
xbrr.edinet.api.document.get_xbrl(document_id, save_dir='./output')
#xbrl = xbrr.edinet.reader.read(os.path.join('output', document_id))
xbrl = xbrr.edinet.reader.read("output/{}_1.xbrl".format(document_id))
business = xbrl.extract(xbrr.edinet.aspects.Business)
print(business.management_analysis.value)
When I get business.management_analysis, this error occurred.
The error is show below.