Package-level U.S. drug shortage and discontinuation listings from openFDA, preserving earlier recovery estimates and status changes mapped to parent pharma companies.
event_period_end_utc)known_time_utc)SHA-256: e01dc06fd94e8125d4803f1ce5d9d9ee76b69b52fbd33505a121223b771da1b1 · Protected URL: https://bitemporal.dev/v1/datasets/fda_shortages_pit_v1.parquet
First five rows from this file showing event dates beside public release times.
event_period_end_utc: event date
known_time_utc: first public release
Delay shows time between them
| package_ndc | event_period_end_utc | known_time_utc | Delay | Revision | Entity | shortage_status | update_type |
|---|---|---|---|---|---|---|---|
| 0338-0004-02 | 2023-04-28T00:00:00Z | 2026-11-18T23:59:59Z | +1300d 23h | Original r0 | BAX (CIK_0000010456) | CURRENT | REVISED |
| 0338-0004-03 | 2023-04-28T00:00:00Z | 2026-11-18T23:59:59Z | +1300d 23h | Original r0 | BAX (CIK_0000010456) | CURRENT | REVERIFIED |
| 0338-0004-04 | 2023-04-28T00:00:00Z | 2026-11-18T23:59:59Z | +1300d 23h | Original r0 | BAX (CIK_0000010456) | CURRENT | REVERIFIED |
| 0338-0017-02 | 2022-02-14T00:00:00Z | 2026-11-18T23:59:59Z | +1738d 23h | Original r0 | BAX (CIK_0000010456) | CURRENT | REVERIFIED |
| 0338-0017-03 | 2022-02-14T00:00:00Z | 2026-11-18T23:59:59Z | +1738d 23h | Original r0 | BAX (CIK_0000010456) | CURRENT | REVERIFIED |
-- Query the 100-row sample directly over HTTPS INSTALL httpfs; LOAD httpfs; SELECT COUNT(*), MIN(event_period_end_utc), MAX(known_time_utc) FROM 'https://bitemporal.dev/v1/sample/fda_shortages_pit_v1.parquet'; -- Query the full file (1,549 rows) with a pass key CREATE OR REPLACE SECRET bt_auth (TYPE HTTP, BEARER_TOKEN 'bt_live_your_token'); SELECT * FROM 'https://bitemporal.dev/v1/datasets/fda_shortages_pit_v1.parquet' LIMIT 25;
# Scan the 100-row sample with Polars import polars as pl sample_df = ( pl.scan_parquet("https://bitemporal.dev/v1/sample/fda_shortages_pit_v1.parquet") .select(["event_period_end_utc", "known_time_utc", "entity_id", "match_status"]) .limit(10) .collect() ) # Read the full file (1,549 rows) with your API key full_df = pl.scan_parquet( "https://bitemporal.dev/v1/datasets/fda_shortages_pit_v1.parquet", storage_options={"Authorization": "Bearer bt_live_your_token"}, ).collect()
# Check byte-range support on the sample file curl -i -r 0-3 "https://bitemporal.dev/v1/sample/fda_shortages_pit_v1.parquet" # Download the 100-row sample file curl -fSL -o sample.parquet "https://bitemporal.dev/v1/sample/fda_shortages_pit_v1.parquet" # Download the full file (1,549 rows) curl -fSL -H "Authorization: Bearer bt_live_your_token" -o dataset.parquet "https://bitemporal.dev/v1/datasets/fda_shortages_pit_v1.parquet"
| # | Column | Parquet type | Nullability | Role |
|---|---|---|---|---|
| 1 | package_ndc | string | Required | Dataset field |
| 2 | event_period_end_utc | timestamp[ms, tz=UTC] | Required | Event date (UTC) |
| 3 | known_time_utc | timestamp[ms, tz=UTC] | Required | First public release (UTC) |
| 4 | initial_known_time_utc | timestamp[ms, tz=UTC] | Required | Revision history |
| 5 | prior_known_time_utc | timestamp[ms, tz=UTC] | Optional | Revision history |
| 6 | revision_seq | uint16 | Required | Revision history |
| 7 | record_op | string | Required | Revision history |
| 8 | vintage_source | string | Required | Revision history |
| 9 | payload_sha256 | string | Required | Revision history |
| 10 | generic_name | string | Optional | Dataset field |
| 11 | manufacturer_name | string | Optional | Dataset field |
| 12 | shortage_status | string | Optional | Dataset field |
| 13 | update_type | string | Optional | Dataset field |
| 14 | availability_note | string | Optional | Dataset field |
| 15 | shortage_reason | string | Optional | Dataset field |
| 16 | therapeutic_category | string | Optional | Dataset field |
| 17 | entity_id | string | Required | Entity resolution |
| 18 | match_status | string | Required | Entity resolution |
| 19 | pit_primary_lei | string | Optional | Entity resolution |
| 20 | pit_primary_figi | string | Optional | Entity resolution |
| 21 | pit_primary_cik | string | Optional | Entity resolution |
| 22 | pit_primary_ticker | string | Optional | Entity resolution |
| 23 | pit_primary_ownership_share | float | Required | Entity resolution |
| 24 | entity_mapping_known_time_utc | timestamp[ms, tz=UTC] | Required | Entity resolution |
| 25 | event_year | int16 | Required | Dataset field |
| 26 | event_quarter | int8 | Required | Dataset field |
| 27 | pub_date | date32[day] | Required | Dataset field |