Skip to contents

R port of morie.otis_tps_overlay. Both feeds touch Toronto, so three overlay analyses are meaningful:

Details

All three return a morie_otis_analysis_result (the shared RichResult-shaped list from otis_all_analyze.R).

Cross-year invariants

  • OTIS UniqueIndividual_ID is reassigned every fiscal year (see variable_taxonomy.R); the overlay therefore joins at the year grain, never at the person grain.

  • OTIS uses fiscal-year (EndFiscalYear); TPS uses calendar OCC_YEAR or REPORT_YEAR. The Pearson r here is computed on the year-aligned intersection – there is a small fiscal/calendar misalignment that is documented in the interpretation but not corrected. Toronto OTIS data covers only 2023-2025, so common-year samples are necessarily small.