Market-data lake

lake.sec_facts dataset schema

Column types and research semantics for NexusTrade’s lake.sec_facts dataset. Read the supported schema before submitting a bounded SQL query.

Query name
lake.sec_facts
Grain
year
Columns
20

Columns and types

These columns come from the same versioned logical catalog used by the query validator and engine. They describe the fields you can query. Some historical rows have missing values; fields absent from older shards can return typed NULL.

cikBIGINT
tickerVARCHAR
taxonomyVARCHAR
conceptVARCHAR
unitVARCHAR
valDOUBLE
periodStartTIMESTAMP
periodEndTIMESTAMP
filedTIMESTAMP
availableAtTIMESTAMP
isInstantBOOLEAN
fyBIGINT
fpVARCHAR
formVARCHAR
availabilitySourceVARCHAR
frameVARCHAR
rawArchiveKeyVARCHAR
rawSha256VARCHAR
sourceFilingUrlVARCHAR
accessionVARCHAR

Current logical schema for lake.sec_facts

Coverage and timing

Raw SEC XBRL facts, one row per (concept, period, filing). Use when a needed concept is not a column on the statement tables.

Inspect source dates and nullable fields before interpreting a result. A completed query is not proof that the source is current, complete for every security, or public at an event’s occurrence time.

Run a limited query

Use a registered API key with lake scope. Select needed columns, bind user-supplied values and restrict dates when the table has a time dimension. Query results are durable parts with a schema and manifest rather than an unbounded in-memory array.

This reference documents the schema and its meaning. Run queries in your signed-in workspace; this page does not execute SQL or show private results and datasets.

sql
SELECT "cik", "ticker", "taxonomy"
FROM lake.sec_facts
LIMIT 20;