Skip to content

Moonlight Analytics data catalog

This site documents every dataset Moonlight Analytics has built and published for its engagements. Each dataset has one page with its definition, columns, sources, caveats, and citation.

Where to start

  • Datasets lists everything in the catalog.
  • Querying explains how to connect and read the data.
  • Conventions covers grain, vintages, and citation. Read it before joining two tables.
  • Licenses says what you may do with each dataset.

What you are looking at

The data is served from a Postgres database. Each dataset is one table, named <schema>.<id>. The schema is the data domain, such as workforce. Tables are national. They are not specific to any client. Two catalog tables describe everything else:

  • catalog.datasets has one row per dataset.
  • catalog.variables has one row per column.

The database is a copy. It is rebuilt from archived files, so you cannot break anything by reading from it. If a number looks wrong, tell Sid.