Datasets:
Commit
•
161dafd
1
Parent(s):
9f8c074
Update URLs for 2024 baseline data files
Browse files
README.md
CHANGED
@@ -181,6 +181,7 @@ dataset_info:
|
|
181 |
PubMed comprises more than 36 million citations for biomedical literature from MEDLINE, life science journals, and online books. Citations may include links to full-text content from PubMed Central and publisher web sites.
|
182 |
|
183 |
NLM produces a baseline set of PubMed citation records in XML format for download on an annual basis. The annual baseline is released in December of each year.
|
|
|
184 |
|
185 |
Each day, NLM produces update files that include new, revised, and deleted citations.
|
186 |
|
|
|
181 |
PubMed comprises more than 36 million citations for biomedical literature from MEDLINE, life science journals, and online books. Citations may include links to full-text content from PubMed Central and publisher web sites.
|
182 |
|
183 |
NLM produces a baseline set of PubMed citation records in XML format for download on an annual basis. The annual baseline is released in December of each year.
|
184 |
+
- Last Updated December 15, 2023
|
185 |
|
186 |
Each day, NLM produces update files that include new, revised, and deleted citations.
|
187 |
|
pubmed.py
CHANGED
@@ -36,10 +36,7 @@ _HOMEPAGE = "https://www.nlm.nih.gov/databases/download/pubmed_medline.html"
|
|
36 |
|
37 |
_LICENSE = ""
|
38 |
|
39 |
-
|
40 |
-
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
41 |
-
# Note these URLs here are used by MockDownloadManager.create_dummy_data_list
|
42 |
-
_URLs = [f"https://ftp.ncbi.nlm.nih.gov/pubmed/baseline/pubmed23n{i:04d}.xml.gz" for i in range(1, 1167)]
|
43 |
|
44 |
|
45 |
# Copyright Ferry Boender, released under the MIT license.
|
@@ -146,7 +143,7 @@ class Pubmed(datasets.GeneratorBasedBuilder):
|
|
146 |
"""Pubmed citations records"""
|
147 |
|
148 |
BUILDER_CONFIGS = [
|
149 |
-
datasets.BuilderConfig(name="
|
150 |
]
|
151 |
|
152 |
# FILLED automatically from features
|
|
|
36 |
|
37 |
_LICENSE = ""
|
38 |
|
39 |
+
_URLs = [f"https://ftp.ncbi.nlm.nih.gov/pubmed/baseline/pubmed24n{i:04d}.xml.gz" for i in range(1, 1220)]
|
|
|
|
|
|
|
40 |
|
41 |
|
42 |
# Copyright Ferry Boender, released under the MIT license.
|
|
|
143 |
"""Pubmed citations records"""
|
144 |
|
145 |
BUILDER_CONFIGS = [
|
146 |
+
datasets.BuilderConfig(name="2024", description="The 2024 annual record", version=datasets.Version("4.0.0")),
|
147 |
]
|
148 |
|
149 |
# FILLED automatically from features
|