pharmac_schedule_history
Monthly snapshots of the PHARMAC community pharmaceutical schedule from September 2006 to present (~511k rows).
Each row is tagged with time_frame (YYYY-MM). Use this dataset for longitudinal analysis of subsidised medicines — tracking additions, deletions, and price changes over time. Composite PK: (pharmacode, time_frame). New months are appended on each monthly refresh. Source: PHARMAC CPSReporting XLSX archive. Licence: CC-BY 3.0 NZ.
Source: PHARMAC ↗ ·Last updated: 2026-11-01 ·Updated monthly ·2,598,127 rows
install.packages("eolas", repos = c("https://phildonovan.r-universe.dev", "https://cloud.r-project.org"))
library(eolas)
eolas_key("your_key")
df <- eolas_get("pharmac_schedule_history", start = "2020-01-01")
# pip install eolas-data
from eolas_data import Client
df = Client("your_key").get("pharmac_schedule_history", start="2020-01-01")
curl "https://api.eolas.nz/v1/datasets/pharmac_schedule_history/data?start=2020-01-01" \
-H "X-API-Key: your_key"
No card needed. The trial covers this dataset through the API. Bulk Parquet/CSV downloads need Pro.
| Column | Type | Description |
|---|---|---|
| chemical | string | Chemical |
| presentation | string | Presentation |
| brand | string | Brand |
| pharmacode | string | Pharmacode |
| nzmt_ctpp_id | string | Nzmt ctpp ID |
| price | double | Price |
| subsidy | double | Subsidy |
| alternate | double | Alternate |
| per | string | Per |
| fully_subsidised | boolean | Fully subsidised |
| s26_s29 | string | S26 s29 |
| original_pack | string | Original pack |
| flags | string | Flags |
| rules_apply | boolean | Rules apply |
| tg1_category | string | Tg1 category |
| tg2_category | string | Tg2 category |
| tg3_category | string | Tg3 category |
| time_frame | string | Time frame |
| specified | string | Specified |
| saform_s_apply | string | Saform s apply |
| sa_form_s_apply | string | Seasonally adjusted form s apply |
| tg1 | string | Tg1 |
| tg2 | string | Tg2 |
| tg3 | string | Tg3 |
install.packages("eolas", repos = c("https://phildonovan.r-universe.dev", "https://cloud.r-project.org"))
library(eolas)
eolas_key("your_key_here")
df <- eolas_get("pharmac_schedule_history")
head(df)
df <- eolas_get("pharmac_schedule_history", start = "2020-01-01", end = "2024-12-31")
head(df)
df <- eolas_get("pharmac_schedule_history")
write.csv(df, "pharmac_schedule_history.csv", row.names = FALSE)
| Time Frame | Chemical | Presentation | Brand | Pharmacode | Nzmt Ctpp Id | Price | Subsidy | Alternate | Per | Fully Subsidised | S26 S29 | Original Pack | Flags | Rules Apply | Tg1 Category | Tg2 Category | Tg3 Category | Specified | Saform S Apply | Sa Form S Apply | Tg1 | Tg2 | Tg3 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2026-11 | Abacavir sulphate | Tab 300 mg | Ziagen | 378038 | 50079501000117100 | 180.00 | 180.00 | 180.00 | 60 tab | True | ❋ | Infections - Agents for Systemic Use | Antiretrovirals | Nucleosides Reverse Transcriptase Inhibitors | |||||||||
| 2026-11 | Abacavir sulphate with lamivudine | Tab 600 mg with lamivudine 300 mg | Abacavir/Lamivudine Viatris | 2632365 | 50301251000117109 | 35.00 | 35.00 | 35.00 | 30 tab | True | ❋ PSS | Infections - Agents for Systemic Use | Antiretrovirals | Nucleosides Reverse Transcriptase Inhibitors | |||||||||
| 2026-11 | Abiraterone acetate | Tab 250 mg | Zytiga | 2453517 | 50143741000117101 | 4276.19 | 4276.19 | 4276.19 | 120 tab | True | True | Yes | Oncology Agents and Immunosuppressants | Endocrine Therapy | Endocrine Therapy | ||||||||
| 2026-11 | Acarbose | Tab 100 mg | Accarb | 2402416 | 50145031000117108 | 17.38 | 17.38 | 17.38 | 90 tab | True | ❋ PSS | Alimentary Tract and Metabolism | Diabetes | Alpha Glucosidase Inhibitors | |||||||||
| 2026-11 | Acarbose | Tab 50 mg | Accarb | 2402408 | 50145021000117105 | 11.20 | 11.20 | 11.20 | 90 tab | True | ❋ PSS | Alimentary Tract and Metabolism | Diabetes | Alpha Glucosidase Inhibitors |
Showing 5 sample rows. Get an API key to access the full dataset.
No card needed. The trial covers this dataset through the API. Bulk Parquet/CSV downloads need Pro.
Start 14-day trial