Datamule XBRL

> Instant will be coming soon.

Simple XBRL

Schema

"columns": [
            "accessionnumber",
            "filingdate",
            "_sourcekey",
            "context_id",
            "members",
            "name",
            "period_end_date",
            "period_start_date",
            "taxonomy",
            "value"
]

Usage

Query Database

Supports complex SQL syntax.

from datamulehub import query_database
query_database(
    "SELECT * FROM simple_xbrl LIMIT 10",
    output_dir="simple_xbrl_sample",
)

Outputs a series of parquets to output_dir.

from datamulehub import read_query
read_query(
    "SELECT * FROM simple_xbrl LIMIT 10"
)

Outputs a series of parquets to tmp/ then prints the results in window.

Download Dataset

from datamulehub import download_dataset

download_dataset(dataset="simple_xbrl", filename="simple_xbrl.parquet")

Downloads the full dataset.