Datasets:
Update 2025 annual baseline data URLs
#13
by
seanfarrell
- opened
pubmed.py
CHANGED
@@ -37,7 +37,7 @@ _HOMEPAGE = "https://www.nlm.nih.gov/databases/download/pubmed_medline.html"
|
|
37 |
|
38 |
_LICENSE = ""
|
39 |
|
40 |
-
_URLs = [f"https://ftp.ncbi.nlm.nih.gov/pubmed/baseline/
|
41 |
|
42 |
|
43 |
# Copyright Ferry Boender, released under the MIT license.
|
@@ -144,7 +144,7 @@ class Pubmed(datasets.GeneratorBasedBuilder):
|
|
144 |
"""Pubmed citations records"""
|
145 |
|
146 |
BUILDER_CONFIGS = [
|
147 |
-
datasets.BuilderConfig(name="
|
148 |
]
|
149 |
|
150 |
# FILLED automatically from features
|
|
|
37 |
|
38 |
_LICENSE = ""
|
39 |
|
40 |
+
_URLs = [f"https://ftp.ncbi.nlm.nih.gov/pubmed/baseline/pubmed25n{i:04d}.xml.gz" for i in range(1, 1220)]
|
41 |
|
42 |
|
43 |
# Copyright Ferry Boender, released under the MIT license.
|
|
|
144 |
"""Pubmed citations records"""
|
145 |
|
146 |
BUILDER_CONFIGS = [
|
147 |
+
datasets.BuilderConfig(name="2025", description="The 2025 annual record", version=datasets.Version("4.0.0")),
|
148 |
]
|
149 |
|
150 |
# FILLED automatically from features
|