You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's take the link given in the official example:
url = "https://www.sec.gov/Archives/edgar/data/1326380/000132638021000129/gme-20211030_htm.xml"
xbrl_dict = fxp.parse(
url,
output=["json", "facts", "dimensions",],
email="...", ### Adjust this to reflect your email address. This is required by the SEC Edgar system when passing a URL.
)
print([
fact
for fact in xbrl_dict["json"]
if fact["context_ref"] == "i12efa46789384fd39ac941da8b7b0f1a_D20200202-20201031"
])
Thanks for the bug report! It has been a while since I've worked on this package, so it'll take me a bit longer to get to the bottom of this. But I'll have a look and get back to you.
Let's take the link given in the official example:
Output:
Actual data
Output:
Issue 1: missing rows
IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis
row is entirely missingIssue 2: missing columns
'member_ns': 'us-gaap', 'member_value': 'DiscontinuedOperationsDisposedOfBySaleMember'
are entirely missing.
In documentation example it's using different
member_prefix
,member_tag
column names. Mismatched column names may be the culprit.The text was updated successfully, but these errors were encountered: