EXAMPLE: Metro migration flows (synthetic)
Example dataset
Synthetic data, kept as a template and a test fixture. It is not in Supabase. Do not cite it, analyze it, or report its numbers as findings.
Synthetic example. Annual in-migration and out-migration counts for five made-up metro areas. It exists to test the mld tooling and to serve as a template for new dataset YAML files. The numbers describe no real place. Built by Moonlight Analytics.
Quick facts
| Field | Value |
|---|---|
| Table | workforce.workforce_example_migration_msa_year |
| Domain | workforce |
| Grain | msa-year |
| Geography | msa |
| Time coverage | 2020 to 2023, annual |
| License class | public |
| Current vintage | 2026-09 |
| All vintages | 2026-03, 2026-09 |
| Refresh cadence | ad_hoc |
| Produced by | github.com/moonlight-analytics/moonlight-data, examples/make_example.py |
| Producing commit | 0000000 |
| Last validated | 2026-10-07 |
Columns
| # | Column | Type | Definition | Units | Methodology |
|---|---|---|---|---|---|
| 1 | cbsa |
string | 5-digit CBSA code. Fake codes with leading zeros. | ||
| 2 | metro_name |
string | Metro area name. Made up. | ||
| 3 | year |
integer | Calendar year. | ||
| 4 | in_migrants |
integer | People who moved into the metro during the year. | persons | |
| 5 | out_migrants |
integer | People who moved out of the metro during the year. | persons | |
| 6 | net_migration_rate |
float | Net migration as a share of population. | ratio | in_migrants minus out_migrants, divided by a synthetic population of 1,000,000 times the metro's position in the list. |
Sources
| Source | Vintage | License class |
|---|---|---|
| Synthetic data (examples/make_example.py) | 2026-09 | public |
Caveats
- Synthetic. Do not cite, analyze, or report these numbers as findings.
- Vintage 2026-03 covers 2020 to 2022. Vintage 2026-09 adds 2023.
Citation
Use this text verbatim.
Moonlight Analytics (2026). EXAMPLE: Metro migration flows (synthetic), vintage 2026-09. Derived from synthetic data (examples/make_example.py).