Commit
·
93cbd74
1
Parent(s):
4215748
citaiton update
Browse files
regulatory_comments_api.py
CHANGED
|
@@ -30,15 +30,14 @@ and comment text.
|
|
| 30 |
|
| 31 |
# Homepage URL of the dataset
|
| 32 |
_HOMEPAGE = "https://www.regulations.gov/"
|
| 33 |
-
_CITATION = """
|
| 34 |
-
@misc{ro_huang_regulatory_2023,
|
| 35 |
author = {{Ro Huang}},
|
| 36 |
date = {2023-03-19},
|
| 37 |
publisher = {Hugging Face},
|
| 38 |
-
title = {Regulatory Comments},
|
| 39 |
-
url = {https://huggingface.co/datasets/ro-h/
|
| 40 |
version = {1.1.4},
|
| 41 |
-
bdsk-url-1 = {https://huggingface.co/datasets/ro-h/
|
| 42 |
"""
|
| 43 |
|
| 44 |
class RegulationsDataFetcher:
|
|
@@ -169,7 +168,7 @@ class RegCommentsAPI(datasets.GeneratorBasedBuilder):
|
|
| 169 |
RegCommentsAPIConfig(
|
| 170 |
name="default",
|
| 171 |
version=datasets.Version("1.0.0"),
|
| 172 |
-
description="Dataset of regulatory comments"
|
| 173 |
)
|
| 174 |
]
|
| 175 |
BUILDER_CONFIG_CLASS = RegCommentsAPIConfig
|
|
@@ -199,7 +198,9 @@ class RegCommentsAPI(datasets.GeneratorBasedBuilder):
|
|
| 199 |
return datasets.DatasetInfo(
|
| 200 |
description=_DESCRIPTION,
|
| 201 |
features=features,
|
| 202 |
-
homepage=_HOMEPAGE
|
|
|
|
|
|
|
| 203 |
)
|
| 204 |
|
| 205 |
def _split_generators(self, dl_manager):
|
|
|
|
| 30 |
|
| 31 |
# Homepage URL of the dataset
|
| 32 |
_HOMEPAGE = "https://www.regulations.gov/"
|
| 33 |
+
_CITATION = """@misc{ro_huang_regulatory_2023-1,
|
|
|
|
| 34 |
author = {{Ro Huang}},
|
| 35 |
date = {2023-03-19},
|
| 36 |
publisher = {Hugging Face},
|
| 37 |
+
title = {Regulatory Comments {API} Call},
|
| 38 |
+
url = {https://huggingface.co/datasets/ro-h/regulatory_comments_api},
|
| 39 |
version = {1.1.4},
|
| 40 |
+
bdsk-url-1 = {https://huggingface.co/datasets/ro-h/regulatory_comments_api}}
|
| 41 |
"""
|
| 42 |
|
| 43 |
class RegulationsDataFetcher:
|
|
|
|
| 168 |
RegCommentsAPIConfig(
|
| 169 |
name="default",
|
| 170 |
version=datasets.Version("1.0.0"),
|
| 171 |
+
description="Dataset of regulatory comments"
|
| 172 |
)
|
| 173 |
]
|
| 174 |
BUILDER_CONFIG_CLASS = RegCommentsAPIConfig
|
|
|
|
| 198 |
return datasets.DatasetInfo(
|
| 199 |
description=_DESCRIPTION,
|
| 200 |
features=features,
|
| 201 |
+
homepage=_HOMEPAGE,
|
| 202 |
+
citation = _CITATION
|
| 203 |
+
|
| 204 |
)
|
| 205 |
|
| 206 |
def _split_generators(self, dl_manager):
|