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¶
- calcbench.raw_numeric_XBRL.raw_XBRL(company_identifiers=[], entire_universe=False, clauses=[])¶
As-reported data.
- Parameters:
company_identifiers (
Sequence[Union[str,int]]) – list of tickers or CIK codesentire_universe (
bool) – Search all companiesclauses (
Sequence[RawDataClause]) – See the parameters that can be passed @ https://www.calcbench.com/api/rawdataxbrlpoints
- 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:
company_identifiers (
Sequence[Union[str,int]]) – list of tickers or CIK codesentire_universe (
bool) – Search all companiesclauses (
Sequence[RawDataClause]) – See the parameters that can be passed @ https://www.calcbench.com/api/rawdataxbrlpoints
- 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)