Pharmacy Inventory Optimization
This dataset provides detailed, location-specific pharmacy inventory records, including product stock levels, demand forecasts, reorder patterns, and risk flags for stockouts and excess inventory. It enables supply chain optimization, predictive analytics, and operational efficiency for pharmacies by integrating product, demand, and location data. Ideal for inventory management, demand planning, and reducing waste in pharmaceutical retail.
Sample rows
preview · 8 of 200 rows · all 23 columns| pharmacy_idstring | average_daily_demandfloat | stockout_risk_flagboolean | address_statestring | pharmacy_namestring | address_streetstring | address_citystring | address_postal_codestring | address_countrystring | product_idstring | product_namestring | product_categorystring | product_manufacturerstring | stock_levelinteger | stock_threshold_mininteger | stock_threshold_maxinteger | predicted_demand_next_30_daysfloat | last_reorder_datedate | next_reorder_date_predicteddate | reorder_quantity_suggestedinteger | excess_inventory_flagboolean | last_stockout_datedate | notesstring |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PH001 | 4.5 | true | CA | CityCare Pharmacy | 128 Market Avenue | San Francisco | 94111 | USA | PR1001 | Ibuprofen 200mg Tablets | painkiller | MediGenix | 85 | 20 | 80 | 135 | 2024-05-02 | 2024-07-04 | 55 | true | 2024-05-01 | Recent bulk delivery led to excess inventory, monitoring demand spike. |
| PH002 | 7.8 | false | BE | EcoPharm Berlin | 12 Alexanderplatz | Berlin | 10178 | Germany | PR1002 | Metformin XR 500mg | antidiabetic | BioHealth | 600 | 50 | 500 | 234 | 2024-05-15 | 2024-08-10 | blank | true | blank | Inventory above recommended maximum due to seasonal bulk order. |
| PH003 | 2.1 | false | IL | Central Pharmacy | 478 Main Street | Chicago | 60616 | USA | PR1003 | Amoxicillin 500mg Capsules | antibiotic | WellMed | 60 | 15 | 70 | 63 | 2024-05-22 | 2024-06-30 | 40 | false | blank | Stable demand, regular monthly restocks recommended. |
| PH004 | 0.09 | true | GL | Remote Village Pharmacy | 9 Nuuk Road | Nuuk | 3900 | Greenland | PR1004 | Vitamin D3 1000IU Capsules | supplement | blank | 3 | 5 | 15 | 2.7 | 2024-04-30 | 2024-06-15 | 12 | false | 2024-04-28 | Stockout risk due to infrequent shipments and low supply. |
| PH005 | 1.8 | false | QLD | Family Pharmacy Brisbane | 34 Queen Street | Brisbane | 4000 | Australia | PR1005 | Amlodipine 5mg Tablets | antihypertensive | PharmaDirect | 42 | 10 | 60 | 54 | 2024-05-10 | 2024-07-05 | 28 | false | blank | Demand stable; maintain regular order schedule. |
| PH006 | 3.3 | false | ZH | Lakefront Pharmacy Zurich | 7 Seestrasse | Zurich | 8001 | Switzerland | PR1006 | Omeprazole 20mg Capsules | antacid | SwissPharma | 300 | 25 | 100 | 99 | 2024-05-08 | 2024-08-12 | blank | true | blank | Excess inventory due to manufacturer promotion event. |
| PH007 | 2.7 | true | MAN | Urban Wellness Manchester | 55 Oxford Road | Manchester | M13 9PL | UK | PR1007 | Paracetamol 500mg Tablets | painkiller | BritMeds | 0 | 10 | 80 | 81 | 2024-03-15 | 2024-05-25 | 45 | false | 2024-05-15 | Urgent reorder needed; stock depleted after local flu outbreak. |
| PH008 | 1.2 | false | AZ | Desert Health Phoenix | 201 Camelback Road | Phoenix | 85016 | USA | PR1008 | Loratadine 10mg Tablets | antihistamine | AllergyMed | 15 | 10 | 50 | 36 | 2024-05-18 | 2024-07-01 | 35 | false | blank | Allergy season approaching; expect moderate increase in demand. |
| PH009 | 0.21 | false | NT | Rural Pharmacy One | 22 Outback Lane | Alice Springs | 0870 | Australia | PR1009 | Levothyroxine 100mcg Tablets | thyroid | blank | 6 | 5 | 25 | 6.3 | 2024-05-04 | 2024-06-29 | 19 | false | blank | Remote location; supply shipments infrequent but regular demand. |
| PH010 | 2.9 | false | IDF | International Rx Paris | 15 Rue Lafayette | Paris | 75009 | France | PR1010 | Sertraline 50mg Tablets | antidepressant | EuroPharm | 180 | 30 | 80 | 87 | 2024-05-21 | 2024-08-07 | blank | true | blank | Stock level exceeds recommended maximum; monitor usage trend. |
| PH011 | 2.6 | false | MH | Green Cross India | 228 MG Road | Mumbai | 400001 | India | PR1011 | Cetirizine 10mg Tablets | antihistamine | IndoPharma | 90 | 20 | 100 | 78 | 2024-05-12 | 2024-07-20 | blank | false | blank | Slightly above average stock; next order may be delayed. |
| PH012 | 2.3 | false | ON | Maple Leaf Pharmacy | 79 Wellington Street | Toronto | M5V2V1 | Canada | PR1012 | Atorvastatin 20mg Tablets | antihypertensive | CanPharma | 48 | 14 | 60 | 69 | 2024-05-10 | 2024-06-28 | 30 | false | blank | Regular demand, recommended reorder before end of June. |
| PH013 | 0.9 | false | NSW | Sunrise Supplements | 321 Bondi Road | Sydney | 2026 | Australia | PR1013 | Fish Oil 1000mg Softgels | supplement | NutraLife | 24 | 8 | 30 | 27 | 2024-05-13 | 2024-07-17 | 14 | false | blank | Stable supplement demand; moderate restock recommended. |
| PH014 | 2.5 | false | GE | River Valley Pharmacy | 88 Riverside Drive | Geneva | 1204 | Switzerland | PR1014 | Aspirin 81mg Tablets | painkiller | blank | 130 | 15 | 80 | 75 | 2024-05-19 | 2024-08-01 | blank | true | blank | Excess supply after a large shipment for summer season. |
| PH015 | 0.5 | true | MA | Wellness Hub Boston | 200 Boylston Street | Boston | 02116 | USA | PR1015 | Gliclazide 80mg Tablets | antidiabetic | SureMeds | 8 | 15 | 60 | 15 | 2024-05-05 | 2024-06-18 | 52 | false | 2024-05-03 | Low stock due to unexpected surge in prescriptions. |
| PH016 | 1.7 | false | ON | Community Pharmacy Toronto | 154 King Street West | Toronto | M5H1J9 | Canada | PR1016 | Escitalopram 10mg Tablets | antidepressant | CanPharma | 62 | 12 | 75 | 51 | 2024-05-07 | 2024-06-30 | 13 | false | blank | Steady psychiatric medication demand; reorder planned. |
| PH017 | 1.2 | false | GE | HealthFirst Geneva | 42 Rue du Rhône | Geneva | 1204 | Switzerland | PR1017 | Prednisone 5mg Tablets | respiratory | SwissPharma | 38 | 9 | 45 | 36 | 2024-05-11 | 2024-07-14 | 19 | false | blank | Demand expected to rise during allergy season. |
| PH018 | 0.03 | true | GL | Greenland Meds | 5 Arctic Street | Sisimiut | 3911 | Greenland | PR1018 | Calcium 500mg Tablets | supplement | blank | 2 | 4 | 20 | 0.9 | 2024-04-28 | 2024-06-16 | 18 | false | 2024-04-25 | Critical low stock; next supply delayed by weather. |
| PH019 | 2.8 | false | LDN | BritCare London | 26 Regent Street | London | SW1Y 4PE | UK | PR1019 | Ramipril 5mg Capsules | antihypertensive | BritMeds | 78 | 20 | 90 | 84 | 2024-05-20 | 2024-07-25 | 32 | false | blank | Essential hypertension medication, maintain steady supply. |
| PH020 | 2.7 | false | BE | Alpine Pharmacy Bern | 3 Bundesplatz | Bern | 3011 | Switzerland | PR1020 | Pantoprazole 40mg Tablets | antacid | AlpineMeds | 180 | 20 | 75 | 81 | 2024-05-16 | 2024-08-02 | blank | true | blank | Recent overstock due to manufacturer discount. |
What the 200 rows show
from the 200-row sample- 25%stockout_
risk_ flag = true - 1.5median average_
daily_ demand - 9address countries
- 10product categories
- 47address cities
- 42.5median stock_
level
Median 1.5, from 0.02 to 7.9.
- string 12
- integer 4
- float 2
- date 3
- boolean 2
Columns
23 columns in four groups| column | type | description | example |
|---|---|---|---|
| Text 12 columns | |||
pharmacy_id | string | Unique identifier for the pharmacy location | PH001 |
pharmacy_name | string | Name of the pharmacy | CityCare Pharmacy |
address_street | string | Street address of the pharmacy | 128 Market Avenue |
address_city | string | City where the pharmacy is located | San Francisco |
address_state | string | State or province of the pharmacy | CA |
address_postal_code | string | Postal or ZIP code of the pharmacy | 94111 |
address_country | string | Country where the pharmacy is located9 countries | USA |
product_id | string | Unique identifier for the product | PR1001 |
product_name | string | Name of the product or medication | Ibuprofen 200mg Tablets |
product_category | string | Category of the product (e.g., antibiotic, painkiller, supplement)10 categories | painkiller |
product_manufacturer | string | Manufacturer of the productoptional | MediGenix |
notes | string | Additional notes or comments regarding the product's inventory statusoptional | Recent bulk delivery led … |
| Numbers 6 columns | |||
stock_level | integer | Current quantity of the product in stock at the pharmacy0 or more | 85 |
stock_threshold_min | integer | Minimum stock level before reorder is triggered0 or more | 20 |
stock_threshold_max | integer | Maximum recommended stock level to avoid excess inventory0 or more | 80 |
average_daily_demand | float | Average daily demand for the product at this pharmacy (units per day)0 or more | 4.5 |
predicted_demand_next_30_days | float | Predicted total demand for the product over the next 30 days0 or more · optional | 135 |
reorder_quantity_suggested | integer | Suggested quantity to reorder based on demand and stock levels0 or more · optional | 55 |
| Dates and times 3 columns | |||
last_reorder_date | date | Date when the product was last reorderedoptional | 2024-05-02 |
next_reorder_date_predicted | date | Predicted date when the next reorder should occuroptional | 2024-07-04 |
last_stockout_date | date | Date when the product last experienced a stockoutoptional | 2024-05-01 |
| True or false 2 columns | |||
stockout_risk_flag | boolean | Indicates if the product is at risk of stockout (true/false) | true |
excess_inventory_flag | boolean | Indicates if the product is at risk of excess inventory (true/false) | true |
Use it for
A healthcare dashboard
The stockout_
risk_ flag rate, average_ daily_ demand and a breakdown of address_ state. Excel, Power BI or Tableau. Why do 49 of 200 rows have stockout_
risk_ flag = true? A class exercise
Hand out the rows and one question. Everyone works from the same 200 rows.
- Pharmacies200PH0014.5truePH0027.8falsePH0040.09true
A software demo
Believable pharmacies with pharmacy_
name, address_ street and address_ city to fill a screen in front of a buyer.
blueprint · pharmacy-inventory-optimization
Behind this dataset
Same schema. As many rows as you need.
These 200 rows came out of a blueprint — 23 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.
- Product SKUs mapped to demand
- Daily sales and stock levels recorded
- Reorder recommendations based on trends
- Expiry dates factored in replenishments
1 credit per row. New accounts start with 25 free credits.
- Exports
- CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
- Licence
- yours to use, including commercially
- API slug
- pharmacy-inventory-optimization