Skip to contents

Projects DOMINO tables from the fplida spine, matching the real PLIDA DOMINO structure. DOMINO is a spell-based longitudinal dataset tracking Centrelink benefit receipt, medical assessments, payment history, and demographics.

Usage

generate_domino(
  spine = NULL,
  seed = 42L,
  years = 2005L:2024L,
  output_dir = NULL,
  format = c("parquet", "csv"),
  return_data = TRUE
)

Arguments

spine

Data.frame (from generate_spine()) or NULL.

seed

Integer. Random seed for DOMINO-specific generation.

years

Integer vector. Observation years (default 2005:2024).

output_dir

Character or NULL. Base output directory.

format

Character. Output format: "parquet" (default) or "csv".

return_data

Logical. If TRUE (default), return data.frames in memory; if FALSE, write to disk and return metadata only.

Value

A named list with 14 data.frames.

Details

8 PLIDA modules are generated (excluding Special Benefits and Special Tables), producing 14 tables total:

det_ben

Benefit spells (one row per spell per person)

static_demogs

Person-level demographics

inc_emp_cont

Employment income spells

loc_dtls

Location spells

edu_lvl

Education level spells

hh_hse_dtls

Housing details

mcd_dtls

Medical certificate details (DSP/CAR recipients)

pyh_combined_dis

Disability & Carers payment history

pyh_combined_fam

Families & Children payment history

indg_stat

Indigenous status

pyh_combined_std

Older Students payment history

pyh_combined_age

Retirement & Widows payment history

pyh_combined_wrk

Working Age payment history

rlt_prin_carer_beta

Principal Carer relationships

All code values use real Centrelink codes from the DSS Aristotle Metadata Registry. Any mapping to SDAC or other frameworks happens in analysis.

Dataset and variable information

The DSS research-dataset metadata website gives information about this dataset. Use dataset_info("DOMINO") for dataset information. Use variable_info("DOMINO") for variables, sources, value support, and topic tags.

Examples

if (FALSE) { # \dontrun{
spine <- generate_spine(n = 1000L, seed = 1L)
domino <- generate_domino(spine = spine, seed = 1L)
str(domino$det_ben)
} # }