Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 18 new columns ({'brand_name', 'pack_description', 'strength', 'manufacturer', 'product_name', 'scraped_at', 'registration_number', 'expiry_date', 'atc_code', 'product_category', 'source_url', 'dosage_form', 'approval_date', 'applicant', 'status', 'generic_name', 'manufacturer_country', 'active_ingredients'}) and 8 missing columns ({'created_at', 'active_ingredient', 'match_pattern', 'required_strength', 'priority', 'required_form', 'id', 'canonical_name'}).

This happened while the csv dataset builder was generating data using

hf://datasets/JBZABC/naijadrugwatch/2026-11-16/nafdac_registrations.csv (at revision dd8224d5b124843c7c596392b94bcd9833a2a380), ['hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/drug_match_rules.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/nafdac_registrations.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/nafdac_status_snapshots.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/pharmacies.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/pharmacy_listings.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/price_history.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/products.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/scrape_runs.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              registration_number: string
              product_name: string
              brand_name: double
              generic_name: double
              active_ingredients: double
              dosage_form: string
              strength: string
              applicant: string
              manufacturer: double
              manufacturer_country: double
              status: string
              approval_date: string
              expiry_date: string
              pack_description: string
              atc_code: double
              product_category: string
              source_url: string
              scraped_at: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2529
              to
              {'id': Value('int64'), 'canonical_name': Value('string'), 'match_pattern': Value('string'), 'required_strength': Value('string'), 'required_form': Value('string'), 'active_ingredient': Value('string'), 'priority': Value('int64'), 'created_at': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 18 new columns ({'brand_name', 'pack_description', 'strength', 'manufacturer', 'product_name', 'scraped_at', 'registration_number', 'expiry_date', 'atc_code', 'product_category', 'source_url', 'dosage_form', 'approval_date', 'applicant', 'status', 'generic_name', 'manufacturer_country', 'active_ingredients'}) and 8 missing columns ({'created_at', 'active_ingredient', 'match_pattern', 'required_strength', 'priority', 'required_form', 'id', 'canonical_name'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/JBZABC/naijadrugwatch/2026-11-16/nafdac_registrations.csv (at revision dd8224d5b124843c7c596392b94bcd9833a2a380), ['hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/drug_match_rules.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/nafdac_registrations.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/nafdac_status_snapshots.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/pharmacies.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/pharmacy_listings.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/price_history.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/products.csv', 'hf://datasets/JBZABC/naijadrugwatch@dd8224d5b124843c7c596392b94bcd9833a2a380/2026-11-16/scrape_runs.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

id
int64
canonical_name
string
match_pattern
string
required_strength
string
required_form
string
active_ingredient
string
priority
int64
created_at
string
1
Abacavir
Abacavir
20 mg/ml
solution
Abacavir
100
2026-11-07 08:37:49.052874+00
2
Abacavir
Abacavir
300 mg
tab-cap
Abacavir
100
2026-11-07 08:37:49.052874+00
3
Abacavir Sulfate
Abacavir Sulfate
60 mg
tab-cap
Abacavir Sulfate
100
2026-11-07 08:37:49.052874+00
4
Abacavir+Lamivudine
Abacavir+Lamivudine
60mg+30mg
tab-cap
Abacavir+Lamivudine
100
2026-11-07 08:37:49.052874+00
5
Abacavir+Lamivudine
Abacavir+Lamivudine
600 mg+300mg
tab-cap
Abacavir+Lamivudine
100
2026-11-07 08:37:49.052874+00
6
Acetazolamide
Acetazolamide
250 mg
tab-cap
Acetazolamide
100
2026-11-07 08:37:49.052874+00
7
Acetylsalicylic Acid
Acetylsalicylic Acid
500 mg
tab-cap
Acetylsalicylic Acid
100
2026-11-07 08:37:49.052874+00
8
Acetylsalicylic Acid
Acetylsalicylic Acid
100 mg
tab-cap
Acetylsalicylic Acid
100
2026-11-07 08:37:49.052874+00
9
Acetylsalicylic Acid
Acetylsalicylic Acid
75 mg
tab-cap
Acetylsalicylic Acid
100
2026-11-07 08:37:49.052874+00
10
Acetylsalicylic Acid
Acetylsalicylic Acid
300 mg
tab-cap
Acetylsalicylic Acid
100
2026-11-07 08:37:49.052874+00
11
Aciclovir
Aciclovir
200 mg
tab-cap
Aciclovir
100
2026-11-07 08:37:49.052874+00
12
Aciclovir
Aciclovir
5%
cream
Aciclovir
100
2026-11-07 08:37:49.052874+00
13
Aciclovir
Aciclovir
400 mg
tab-cap
Aciclovir
100
2026-11-07 08:37:49.052874+00
14
Aciclovir
Aciclovir
200 mg/5 ml
suspen
Aciclovir
100
2026-11-07 08:37:49.052874+00
15
Aciclovir
Aciclovir
3%
opht oint
Aciclovir
100
2026-11-07 08:37:49.052874+00
16
Aciclovir
Aciclovir
250 mg
vial
Aciclovir
100
2026-11-07 08:37:49.052874+00
17
Adenosine
Adenosine
3 mg/ml
ampoule
Adenosine
100
2026-11-07 08:37:49.052874+00
18
Albendazole
Albendazole
400 mg
tab-cap
Albendazole
100
2026-11-07 08:37:49.052874+00
19
Albendazole
Albendazole
100 mg/5 ml
suspen
Albendazole
100
2026-11-07 08:37:49.052874+00
20
Albendazole
Albendazole
200 mg/5 ml
suspen
Albendazole
100
2026-11-07 08:37:49.052874+00
21
Albendazole
Albendazole
200 mg
tab-cap
Albendazole
100
2026-11-07 08:37:49.052874+00
22
Albumin, Human Normal
Albumin, Human Normal
20-25%
vial
Albumin, Human Normal
100
2026-11-07 08:37:49.052874+00
23
Alcohol
Alcohol
95-96%
liquid
Alcohol
100
2026-11-07 08:37:49.052874+00
24
Alcohol, Denatured
Alcohol, Denatured
95-96%
liquid
Alcohol, Denatured
100
2026-11-07 08:37:49.052874+00
25
Alcohol, Denatured
Alcohol, Denatured
70%
liquid
Alcohol, Denatured
100
2026-11-07 08:37:49.052874+00
26
Alcohol, Isopropyl
Alcohol, Isopropyl
70%
liquid
Alcohol, Isopropyl
100
2026-11-07 08:37:49.052874+00
27
Alendronate
Alendronate
10 mg
tab-cap
Alendronate
100
2026-11-07 08:37:49.052874+00
28
Allopurinol
Allopurinol
100 mg
tab-cap
Allopurinol
100
2026-11-07 08:37:49.052874+00
29
Allopurinol
Allopurinol
300 mg
tab-cap
Allopurinol
100
2026-11-07 08:37:49.052874+00
30
Alprazolam
Alprazolam
0.25 mg
tab-cap
Alprazolam
100
2026-11-07 08:37:49.052874+00
31
Alprazolam
Alprazolam
0.5 mg
tab-cap
Alprazolam
100
2026-11-07 08:37:49.052874+00
32
Aluminium Hydr.+ Magnesium Hydr.
Aluminium Hydr.+ Magnesium Hydr.
250+120 mg
tab-cap
Aluminium Hydr.+ Magnesium Hydr.
100
2026-11-07 08:37:49.052874+00
33
Aluminium Hydroxide
Aluminium Hydroxide
500 mg
tab-cap
Aluminium Hydroxide
100
2026-11-07 08:37:49.052874+00
34
Amidotrizoate
Amidotrizoate
76%
ampoule
Amidotrizoate
100
2026-11-07 08:37:49.052874+00
35
Amikacin Sulfate
Amikacin Sulfate
250 mg/ml
vial
Amikacin Sulfate
100
2026-11-07 08:37:49.052874+00
36
Amikacin Sulfate
Amikacin Sulfate
50 mg/ml
ampoule
Amikacin Sulfate
100
2026-11-07 08:37:49.052874+00
37
Aminophylline
Aminophylline
100 mg
tab-cap
Aminophylline
100
2026-11-07 08:37:49.052874+00
38
Aminophylline
Aminophylline
25 mg/ml
ampoule
Aminophylline
100
2026-11-07 08:37:49.052874+00
39
Amiodarone
Amiodarone
200 mg
tab-cap
Amiodarone
100
2026-11-07 08:37:49.052874+00
40
Amiodarone
Amiodarone
50 mg/ml
vial
Amiodarone
100
2026-11-07 08:37:49.052874+00
41
Amitriptyline
Amitriptyline
10 mg
tab-cap
Amitriptyline
100
2026-11-07 08:37:49.052874+00
42
Amitriptyline
Amitriptyline
25 mg
tab-cap
Amitriptyline
100
2026-11-07 08:37:49.052874+00
43
Amitriptyline
Amitriptyline
50 mg
tab-cap
Amitriptyline
100
2026-11-07 08:37:49.052874+00
44
Amlodipine
Amlodipine
5 mg
tab-cap
Amlodipine
100
2026-11-07 08:37:49.052874+00
45
Amlodipine
Amlodipine
10 mg
tab-cap
Amlodipine
100
2026-11-07 08:37:49.052874+00
46
Amodiaquine
Amodiaquine
50 mg/5 ml
suspen
Amodiaquine
100
2026-11-07 08:37:49.052874+00
47
Amodiaquine
Amodiaquine
150-200 mg
tab-cap
Amodiaquine
100
2026-11-07 08:37:49.052874+00
48
Amoxicillin
Amoxicillin
250 mg/5 ml
suspen
Amoxicillin
100
2026-11-07 08:37:49.052874+00
49
Amoxicillin
Amoxicillin
125 mg/5 ml
suspen
Amoxicillin
100
2026-11-07 08:37:49.052874+00
50
Amoxicillin
Amoxicillin
250 mg
tab-cap
Amoxicillin
100
2026-11-07 08:37:49.052874+00
51
Amoxicillin
Amoxicillin
500 mg
tab-cap
Amoxicillin
100
2026-11-07 08:37:49.052874+00
52
AMOXICILLIN
AMOXICILLIN
125 MG
tab-cap
AMOXICILLIN
100
2026-11-07 08:37:49.052874+00
53
Amoxicillin+Clavulanic Acid
Amoxicillin+Clavulanic Acid
null
suspen
Amoxicillin+Clavulanic Acid
100
2026-11-07 08:37:49.052874+00
54
Amoxicillin+Clavulanic Acid
Amoxicillin+Clavulanic Acid
875mg+125mg
tab-cap
Amoxicillin+Clavulanic Acid
100
2026-11-07 08:37:49.052874+00
55
Amoxicillin+Clavulanic Acid
Amoxicillin+Clavulanic Acid
250mg+125mg
tab-cap
Amoxicillin+Clavulanic Acid
100
2026-11-07 08:37:49.052874+00
56
Amoxicillin+Clavulanic Acid
Amoxicillin+Clavulanic Acid
500mg+125mg
tab-cap
Amoxicillin+Clavulanic Acid
100
2026-11-07 08:37:49.052874+00
57
Amoxicillin+Clavulanic Acid
Amoxicillin+Clavulanic Acid
1000+200 mg
vial
Amoxicillin+Clavulanic Acid
100
2026-11-07 08:37:49.052874+00
58
Amoxicillin+Clavulanic Acid
Amoxicillin+Clavulanic Acid
500mg+100mg
vial
Amoxicillin+Clavulanic Acid
100
2026-11-07 08:37:49.052874+00
59
Amphotericin B
Amphotericin B
50 mg
vial
Amphotericin B
100
2026-11-07 08:37:49.052874+00
60
Ampicillin
Ampicillin
500 mg
tab-cap
Ampicillin
100
2026-11-07 08:37:49.052874+00
61
Ampicillin
Ampicillin
1 g
vial
Ampicillin
100
2026-11-07 08:37:49.052874+00
62
Ampicillin
Ampicillin
500 mg
vial
Ampicillin
100
2026-11-07 08:37:49.052874+00
63
Ampicillin
Ampicillin
250 mg
vial
Ampicillin
100
2026-11-07 08:37:49.052874+00
64
Ampicillin+Sulbactam
Ampicillin+Sulbactam
1000mg+500mg
vial
Ampicillin+Sulbactam
100
2026-11-07 08:37:49.052874+00
65
Anastrozole
Anastrozole
1 mg
tab-cap
Anastrozole
100
2026-11-07 08:37:49.052874+00
66
Antihaemorrhoidal
Antihaemorrhoidal
null
suppos
Antihaemorrhoidal
100
2026-11-07 08:37:49.052874+00
67
Antihaemorrhoidal
Antihaemorrhoidal
null
ointment
Antihaemorrhoidal
100
2026-11-07 08:37:49.052874+00
68
Antivenom Serum
Antivenom Serum
null
vial
Antivenom Serum
100
2026-11-07 08:37:49.052874+00
69
Artemether
Artemether
20 mg/ml
ampoule
Artemether
100
2026-11-07 08:37:49.052874+00
70
Artemether
Artemether
80 mg/ml
ampoule
Artemether
100
2026-11-07 08:37:49.052874+00
71
Artemether+Lumefantrine
Artemether+Lumefantrine
15+90mg/5ml
suspen
Artemether+Lumefantrine
100
2026-11-07 08:37:49.052874+00
72
Artemether+Lumefantrine
Artemether+Lumefantrine
20 mg+120 mg
tab-cap
Artemether+Lumefantrine
100
2026-11-07 08:37:49.052874+00
73
Artesunate
Artesunate
60 mg
vial
Artesunate
100
2026-11-07 08:37:49.052874+00
74
Artesunate+Amodiaquine
Artesunate+Amodiaquine
25mg+67.5mg
tab-cap
Artesunate+Amodiaquine
100
2026-11-07 08:37:49.052874+00
75
Artesunate+Amodiaquine
Artesunate+Amodiaquine
50 mg+153 mg
tab-cap
Artesunate+Amodiaquine
100
2026-11-07 08:37:49.052874+00
76
Artesunate+Amodiaquine
Artesunate+Amodiaquine
50 mg+135 mg
tab-cap
Artesunate+Amodiaquine
100
2026-11-07 08:37:49.052874+00
77
Artesunate+Amodiaquine
Artesunate+Amodiaquine
100mg+270mg
tab-cap
Artesunate+Amodiaquine
100
2026-11-07 08:37:49.052874+00
78
Artesunate+Sulfadoxine/Pyrimethamine
Artesunate+Sulfadoxine/Pyrimethamine
100+500/25mg
tab-cap
Artesunate+Sulfadoxine/Pyrimethamine
100
2026-11-07 08:37:49.052874+00
79
Asparaginase
Asparaginase
1,000 IU/ml
ampoule
Asparaginase
100
2026-11-07 08:37:49.052874+00
80
Asparaginase
Asparaginase
10,000 IU/ml
vial
Asparaginase
100
2026-11-07 08:37:49.052874+00
81
Atazanavir
Atazanavir
150 mg
tab-cap
Atazanavir
100
2026-11-07 08:37:49.052874+00
82
Atazanavir+Ritonavir
Atazanavir+Ritonavir
300+100 mg
tab-cap
Atazanavir+Ritonavir
100
2026-11-07 08:37:49.052874+00
83
Atenolol
Atenolol
50 mg
tab-cap
Atenolol
100
2026-11-07 08:37:49.052874+00
84
Atenolol
Atenolol
100 mg
tab-cap
Atenolol
100
2026-11-07 08:37:49.052874+00
85
Atorvastatin
Atorvastatin
20 mg
tab-cap
Atorvastatin
100
2026-11-07 08:37:49.052874+00
86
Atorvastatin
Atorvastatin
10 mg
tab-cap
Atorvastatin
100
2026-11-07 08:37:49.052874+00
87
Atorvastatin
Atorvastatin
40 mg
tab-cap
Atorvastatin
100
2026-11-07 08:37:49.052874+00
88
Atovaquone+Proguanil
Atovaquone+Proguanil
250mg+100mg
tab-cap
Atovaquone+Proguanil
100
2026-11-07 08:37:49.052874+00
89
Atracurium
Atracurium
10 mg/ml
ampoule
Atracurium
100
2026-11-07 08:37:49.052874+00
90
Atropine Sulfate
Atropine Sulfate
0.25 mg/ml
ampoule
Atropine Sulfate
100
2026-11-07 08:37:49.052874+00
91
Atropine Sulfate
Atropine Sulfate
1 mg/ml
ampoule
Atropine Sulfate
100
2026-11-07 08:37:49.052874+00
92
Atropine Sulfate
Atropine Sulfate
0.5 mg/ml
ampoule
Atropine Sulfate
100
2026-11-07 08:37:49.052874+00
93
Atropine Sulfate
Atropine Sulfate
1%
opht drop
Atropine Sulfate
100
2026-11-07 08:37:49.052874+00
94
Azathioprine
Azathioprine
50 mg
tab-cap
Azathioprine
100
2026-11-07 08:37:49.052874+00
95
Azithromycin
Azithromycin
200 mg/5 ml
suspen
Azithromycin
100
2026-11-07 08:37:49.052874+00
96
Azithromycin
Azithromycin
250 mg
tab-cap
Azithromycin
100
2026-11-07 08:37:49.052874+00
97
Azithromycin
Azithromycin
500 mg
tab-cap
Azithromycin
100
2026-11-07 08:37:49.052874+00
98
Balanced Salt Solution
Balanced Salt Solution
null
solution
Balanced Salt Solution
100
2026-11-07 08:37:49.052874+00
99
Barium Sulfate
Barium Sulfate
null
powder
Barium Sulfate
100
2026-11-07 08:37:49.052874+00
100
Beclometasone
Beclometasone
50 mcg
nasal
Beclometasone
100
2026-11-07 08:37:49.052874+00
End of preview.

NaijaDrugWatch — frozen vintage 2026-11-16

Medicine prices from three Nigerian online pharmacies, joined to the NAFDAC registration status of the medicine behind each price. This is a dated archive, not a live feed. Collection stopped on 16 November 2026; the newest price here was recorded on 15 November 2026, and nothing in this dataset changes again.

Built and published by Jerry Bannister Zachary. Code is MIT; this data is CC-BY-4.0.

What is in it

object value
pharmacy listings (latest price per URL) 2,800
…of those, attached to a named medicine 559
products in the catalogue 1,433, of which 335 carry a live price
two-shop price comparisons 44 (of 261 cheapest-price cells)
listings resting on a registration that is not Active 154, across 86 products
NAFDAC registrations 10,967, of which 1,856 (16.9%) carry a readable status
base tables / rows 8 / 36,936

Files

file what it is
naijadrugwatch.dump pg_dump custom format, written by pg_dump 18.6 from PostgreSQL 17.12. This is the authoritative copy.
MANIFEST.json row count, column count, byte size and sha256 for every file in the vintage
products.csv, pharmacy_listings.csv, price_history.csv, nafdac_registrations.csv, nafdac_status_snapshots.csv, drug_match_rules.csv, pharmacies.csv, scrape_runs.csv every base table as readable CSV
schema-record.txt every column, key, constraint, index, extension and view definition as it stood at the freeze

Views and materialised views are deliberately not exported as rows: they are derived, and a second copy of a derived number is how a vintage drifts. Their definitions are in schema-record.txt.

How to restore it

# any PostgreSQL 17 instance with the pgvector, pg_trgm and unaccent extensions
pg_restore --dbname=<your-db> --no-owner --no-privileges naijadrugwatch.dump

The dump creates its own extensions. Then compare against MANIFEST.json; the project's scripts/verify_restore.py does exactly that and exits non-zero on any difference.

What this data does not claim

  • Not a market index and not a national price survey. Lagos only, three online pharmacies, and only the medicines that two of them price. 335 medicines actually carry a price.
  • The daily price index in the source database counts newly observed prices, not the live market.
  • "Flagged" is a fraction of a fraction. Only 16.9% of the register carries a readable status, so an un-flagged listing means the licence could not be read, not that the licence is good.
  • A lapsed licence is not a fake drug. Registration status records administrative state; nothing here says a medicine is counterfeit, and no product was bought, tested or inspected.
  • The price data includes supplements and pharmacy sundries that are not medicines.
  • One unit price is per millilitre (a 100 ml syrup) and sits beside per-tablet prices; the unit is recorded in the listing's pack_unit column, not in the view's unit price.
  • The pack comparisons are backed by a sample of recorded human judgements (18 of 20 licence cards, 3 of 20 pack cards) plus a machine re-read; they are not a complete human audit.

Source and attribution

Prices are read from the public product pages of the pharmacies named in the pharmacies table, one request every two seconds, product and price fields only. Registration numbers, statuses and expiry dates come from the NAFDAC Greenbook. The medicine list descends from the #FixMedPrices catalogue, released under CC-BY-4.0 and credited here as its licence requires.

This is an independent project. It is not endorsed by NAFDAC and is not affiliated with, or paid by, any pharmacy named in the data.

Cite this

DOI: 10.5281/zenodo.24356426 - the same files, zipped, in a permanently archived copy. This Hugging Face copy is the browsable one: every CSV can be previewed here and the manifest's SHA-256 values can be checked against the files as downloaded.

Downloads last month
63