Curated datasets

US state and territory dimension

vlada_curated.dim_state·live·dim
Rows
56
Columns
6
History
N/A
Card
nocolumns only
Typed tools
0

What it is

  1. 1The resolving dimension for USPS state codes, built because the only candidate authority was dim_state_metric, a metrics fact grained (state_code, domain, metric) holding roughly 37 rows per state.
  2. 2Population is dim_geography's state set unioned with every state code actually observed in the assets that use the identifier, so a state referenced by a metrics table but absent from the ZIP-derived geography is still resolvable.

Grain

KeyGrain
N/A
  1. 1One row per USPS state or territory code — the authority for usps:state.

Columns (6)

ColumnTypeMeaning
state_codestring
state_namestring
state_fipsstring
census_regionstring
census_divisionstring
attribute_sourcevarchar(27)

Query it

describe_data_source(source_fqn="vlada_curated.dim_state")     # the card, live
query_substrate(sql="SELECT * FROM vlada_curated.dim_state WHERE <filter> LIMIT 100")
ItemValue
Typed tools that read itnone; raw SQL
Identity keystate_code
Joinhow_to_join(source_fqn="vlada_curated.dim_state")
Raw doorAthena (read-only): vlada_curated.dim_state
NoteBuilt by ops/scripts/build_dim_state.py. Population derived from data rather than written from memory, for the same reason dim_provider_ccn was built from rosters instead of CMS range conventions.

This page as markdown: /docs-md/data/vlada_curated_dim_state.md · every page in one file: /llms-full.txt