ro-h commited on
Commit
254187f
1 Parent(s): 78e8507

Upload regulatory_comments.py

Browse files
Files changed (1) hide show
  1. regulatory_comments.py +5 -3
regulatory_comments.py CHANGED
@@ -65,9 +65,10 @@ class RegComments(datasets.GeneratorBasedBuilder):
65
  features = datasets.Features(
66
  {"docket_agency": datasets.Value("string"),
67
  "docket_title": datasets.Value("string"),
 
68
  "comment_id": datasets.Value("string"),
69
  "comment_date": datasets.Value("string"),
70
- "comment_link": datasets.Value("string"),
71
  "comment_title": datasets.Value("string"),
72
  "commenter_name": datasets.Value("string"),
73
  "comment_length": datasets.Value("int64"),
@@ -112,11 +113,12 @@ class RegComments(datasets.GeneratorBasedBuilder):
112
  yield key, {
113
  "docket_agency": row["docket_agency"],
114
  "docket_title": row["docket_title"],
 
115
  "comment_id": row["comment_id"],
116
  "comment_date": row["comment_date"],
117
- "comment_link": row["comment_link"],
118
  "comment_title": row["comment_title"],
119
  "commenter_name": row["commenter_name"],
120
  "comment_length": int(row["comment_length"]),
121
  "comment_text": row["comment_text"],
122
- }
 
65
  features = datasets.Features(
66
  {"docket_agency": datasets.Value("string"),
67
  "docket_title": datasets.Value("string"),
68
+ "docket_date": datasets.Value("string"),
69
  "comment_id": datasets.Value("string"),
70
  "comment_date": datasets.Value("string"),
71
+ "comment_url": datasets.Value("string"),
72
  "comment_title": datasets.Value("string"),
73
  "commenter_name": datasets.Value("string"),
74
  "comment_length": datasets.Value("int64"),
 
113
  yield key, {
114
  "docket_agency": row["docket_agency"],
115
  "docket_title": row["docket_title"],
116
+ "docket_date": row["docket_date"],
117
  "comment_id": row["comment_id"],
118
  "comment_date": row["comment_date"],
119
+ "comment_url": row["comment_url"],
120
  "comment_title": row["comment_title"],
121
  "commenter_name": row["commenter_name"],
122
  "comment_length": int(row["comment_length"]),
123
  "comment_text": row["comment_text"],
124
+ }