Raw Numeric XBRL

All of the XBRL tagged numbers as reported in the XBRL documents submitted by the filers

class calcbench.raw_numeric_XBRL.Operator(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Contains = 10
Equals = 1
NotEquals = 21
class calcbench.raw_numeric_XBRL.RawDataClause
operator: Operator
parameter: str
value: str
calcbench.raw_numeric_XBRL.raw_XBRL(company_identifiers=[], entire_universe=False, clauses=[])

As-reported data.

Parameters:
Return type:

DataFrame

Returns:

an empty dataframe if no records are found.

Usage:
>>> clauses = [
>>>     {"value": "Revenues", "parameter": "XBRLtag", "operator": 10},
>>>     {"value": "Y", "parameter": "fiscalPeriod", "operator": 1},
>>>     {"value": "2018", "parameter": "fiscalYear", "operator": 1}
>>> ]
>>> cb.raw_XBRL(company_identifiers=['mmm'], clauses=clauses)
calcbench.raw_numeric_XBRL.raw_xbrl_raw(company_identifiers=[], entire_universe=False, clauses=[])

Data as reported in the XBRL documents

Parameters:
Return type:

Sequence[Mapping[str, object]]

Usage:
>>> clauses = [
>>>     {"value": "Revenues", "parameter": "XBRLtag", "operator": 10},
>>>     {"value": "Y", "parameter": "fiscalPeriod", "operator": 1},
>>>     {"value": "2018", "parameter": "fiscalYear", "operator": 1}
>>> ]
>>> cb.raw_xbrl_raw(company_identifiers=['mmm'], clauses=clauses)