
Package index
MHT exposure entry points
One function per study definition. Each takes a person-week skeleton and a table of dispensed prescriptions, and writes the derived exposure columns onto the skeleton BY REFERENCE. They differ in the LMED identifier column they read, in how the product categories are flagged, and in whether the rd_approach* exposure variables are produced.
-
add_lmed_v20261002() - Add 2026-10-02 MHT exposure to a person-week skeleton
-
add_lmed_v20260924() - Add 2026-09-24 MHT exposure to a person-week skeleton
-
add_lmed_v20260922() - Add 2026-09-22 MHT exposure to a person-week skeleton
-
add_lmed_v20260902() - Add 2026-09-02 MHT exposure to a person-week skeleton
-
add_lmed_v20260828() - Add 2026-08-28 MHT exposure variables to a person-week skeleton
-
add_lmed_v20250909() - Add 2026 MHT exposure variables to a person-week skeleton
-
add_lmed_v20230509() - Add 2023 MHT exposure variables to a person-week skeleton
Synthetic fixtures
Small synthetic tables carrying no real person data, used by the examples and by the test suite. The prescription tables differ only in the name of the person identifier column.
-
fake_lmed_2026 - Synthetic LMED prescriptions in the 2026 column layout
-
fake_lmed_2023 - Synthetic LMED prescriptions in the 2023 column layout
-
fake_skeleton_mht - Synthetic person-week skeleton