Update README.md
Browse files
README.md
CHANGED
|
@@ -15,7 +15,7 @@ task_categories:
|
|
| 15 |
|
| 16 |
United States governmental agencies often make proposed regulations open to the public for comment.
|
| 17 |
Proposed regulations are organized into "dockets". This dataset will use Regulation.gov public API
|
| 18 |
-
to aggregate and clean public comments for dockets selected by the user
|
| 19 |
|
| 20 |
Each example will consist of one docket, and include metadata such as docket id, docket title, etc.
|
| 21 |
Each docket entry will also include information about the top 10 comments, including comment metadata
|
|
@@ -47,9 +47,14 @@ The following information is included in this dataset:
|
|
| 47 |
|
| 48 |
id (int): A unique numerical identifier assigned to each regulatory docket.
|
| 49 |
|
| 50 |
-
|
| 51 |
|
| 52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
purpose (str): Whether the docket was rulemaking, non-rulemaking, or other.
|
| 55 |
|
|
@@ -61,29 +66,31 @@ Note that huggingface converts lists of dictionaries to dictionaries of lists.
|
|
| 61 |
|
| 62 |
comment_id (int): A unique numerical identifier for each public comment submitted on the docket.
|
| 63 |
|
| 64 |
-
|
|
|
|
| 65 |
|
| 66 |
-
|
|
|
|
| 67 |
|
| 68 |
-
|
| 69 |
|
| 70 |
-
commenter_fname (str): The first name of the individual or entity that submitted the comment. This could be a person,
|
|
|
|
| 71 |
|
| 72 |
commenter_lname (str): The last name of the individual or entity that submitted the comment.
|
| 73 |
|
| 74 |
comment_length (int): The length of the comment in terms of the number of characters (spaces included)
|
| 75 |
|
| 76 |
**Comment Content**
|
| 77 |
-
text (str): The actual text of the comment submitted. This is the primary content for analysis, containing the
|
|
|
|
| 78 |
|
| 79 |
|
| 80 |
### Dataset Limitations
|
| 81 |
|
| 82 |
Commenter name features were phased in later in the system, so some dockets will have no
|
| 83 |
first name/last name entries. Further, some comments were uploaded solely via attachment,
|
| 84 |
-
and are stored in the system as null since the API has no access to comment attachments.
|
| 85 |
-
comments via attachments, making any sentiment analysis biased towards individual commenters.
|
| 86 |
-
|
| 87 |
|
| 88 |
- **Curated by:** Ro Huang
|
| 89 |
|
|
@@ -132,7 +139,8 @@ title, context, purpose, and keywords. Additionally, the top 10 comments
|
|
| 132 |
for each docket are collected, including their metadata (comment ID, URL, date,
|
| 133 |
title, commenter's first and last name) and the comment text itself. The process
|
| 134 |
focuses on the first page of 25 comments for each docket, and the top 10 comments
|
| 135 |
-
are selected based on their order of appearance in the API response.
|
|
|
|
| 136 |
|
| 137 |
**Data Normalization:**
|
| 138 |
The collected data is normalized into a structured format. Each docket and
|
|
@@ -140,6 +148,10 @@ its associated comments are organized into a nested dictionary structure.
|
|
| 140 |
This structure includes key information about the docket and a list of comments,
|
| 141 |
each with its detailed metadata.
|
| 142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
**Tools and Libraries Used:**
|
| 144 |
Requests Library: Used for making API calls to the Regulations.gov API to fetch dockets and comments data.
|
| 145 |
Datasets Library from HuggingFace: Employed for defining and managing the dataset's structure and generation process.
|
|
|
|
| 15 |
|
| 16 |
United States governmental agencies often make proposed regulations open to the public for comment.
|
| 17 |
Proposed regulations are organized into "dockets". This dataset will use Regulation.gov public API
|
| 18 |
+
to aggregate and clean public comments for dockets selected by the user.
|
| 19 |
|
| 20 |
Each example will consist of one docket, and include metadata such as docket id, docket title, etc.
|
| 21 |
Each docket entry will also include information about the top 10 comments, including comment metadata
|
|
|
|
| 47 |
|
| 48 |
id (int): A unique numerical identifier assigned to each regulatory docket.
|
| 49 |
|
| 50 |
+
agency (str): The abbreviation for the agency posting the regulatory docket (e.g., "FDA")
|
| 51 |
|
| 52 |
+
title (str): The official title or name of the regulatory docket. This title typically summarizes the main issue or
|
| 53 |
+
area of regulation covered by the docket.
|
| 54 |
+
|
| 55 |
+
update_date (str): The date when the docket was last modified on Regulations.gov.
|
| 56 |
+
|
| 57 |
+
update_time (str): The time when the docket was last modified on Regulations.gov.
|
| 58 |
|
| 59 |
purpose (str): Whether the docket was rulemaking, non-rulemaking, or other.
|
| 60 |
|
|
|
|
| 66 |
|
| 67 |
comment_id (int): A unique numerical identifier for each public comment submitted on the docket.
|
| 68 |
|
| 69 |
+
comment_url (str): A URL or web link to the specific comment or docket on Regulations.gov. This allows direct access
|
| 70 |
+
to the original document or page for replicability purposes.
|
| 71 |
|
| 72 |
+
comment_date (str): The date when the comment was posted on Regulations.gov. This is important for understanding the
|
| 73 |
+
timeline of public engagement.
|
| 74 |
|
| 75 |
+
comment_time (str): The time when the comment was posted on Regulations.gov.
|
| 76 |
|
| 77 |
+
commenter_fname (str): The first name of the individual or entity that submitted the comment. This could be a person,
|
| 78 |
+
organization, business, or government entity.
|
| 79 |
|
| 80 |
commenter_lname (str): The last name of the individual or entity that submitted the comment.
|
| 81 |
|
| 82 |
comment_length (int): The length of the comment in terms of the number of characters (spaces included)
|
| 83 |
|
| 84 |
**Comment Content**
|
| 85 |
+
text (str): The actual text of the comment submitted. This is the primary content for analysis, containing the
|
| 86 |
+
commenter's views, arguments, and feedback on the regulatory matter.
|
| 87 |
|
| 88 |
|
| 89 |
### Dataset Limitations
|
| 90 |
|
| 91 |
Commenter name features were phased in later in the system, so some dockets will have no
|
| 92 |
first name/last name entries. Further, some comments were uploaded solely via attachment,
|
| 93 |
+
and are stored in the system as null since the API has no access to comment attachments.
|
|
|
|
|
|
|
| 94 |
|
| 95 |
- **Curated by:** Ro Huang
|
| 96 |
|
|
|
|
| 139 |
for each docket are collected, including their metadata (comment ID, URL, date,
|
| 140 |
title, commenter's first and last name) and the comment text itself. The process
|
| 141 |
focuses on the first page of 25 comments for each docket, and the top 10 comments
|
| 142 |
+
are selected based on their order of appearance in the API response. Dockets
|
| 143 |
+
with no comments are filtered out.
|
| 144 |
|
| 145 |
**Data Normalization:**
|
| 146 |
The collected data is normalized into a structured format. Each docket and
|
|
|
|
| 148 |
This structure includes key information about the docket and a list of comments,
|
| 149 |
each with its detailed metadata.
|
| 150 |
|
| 151 |
+
**Data Cleaning:**
|
| 152 |
+
HTML text tags (e.g., "</br>") are removed from comment text. However, the content of the comment remains
|
| 153 |
+
unedited, meaning any typos or grammatical errors in the original comment are preserved.
|
| 154 |
+
|
| 155 |
**Tools and Libraries Used:**
|
| 156 |
Requests Library: Used for making API calls to the Regulations.gov API to fetch dockets and comments data.
|
| 157 |
Datasets Library from HuggingFace: Employed for defining and managing the dataset's structure and generation process.
|