Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -56,55 +56,67 @@ While the Reddit Climate Comment dataset offers valuable insights into discussio
|
|
56 |
|
57 |
## Dataset Structure
|
58 |
|
59 |
-
This JSON example represents
|
60 |
|
61 |
```json
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
{
|
67 |
-
"
|
68 |
-
"
|
69 |
-
"
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
"Timestamp": "2024-01-31 12:34:56",
|
75 |
-
"Upvotes": 10,
|
76 |
-
"NumberofReplies": 50
|
77 |
-
},
|
78 |
-
{
|
79 |
-
"CommentID": "def456",
|
80 |
-
"Author": "GreenPlanet101",
|
81 |
-
"CommentBody": "I agree. We need urgent action to protect our planet's ecosystems.",
|
82 |
-
"Timestamp": "2024-01-31 13:45:32",
|
83 |
-
"Upvotes": 5,
|
84 |
-
"NumberofReplies": 10
|
85 |
-
}
|
86 |
-
]
|
87 |
-
},
|
88 |
-
...
|
89 |
]
|
90 |
-
}
|
91 |
-
|
92 |
-
]
|
93 |
```
|
94 |
The dataset includes the following fields:
|
95 |
|
96 |
```json
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
```
|
109 |
|
110 |
## Dataset Creation
|
|
|
56 |
|
57 |
## Dataset Structure
|
58 |
|
59 |
+
This JSON example represents an example portion of the dataset. This nested structure allows for efficient navigation and analysis of posts, comments, and replies within specific subreddit communities and individual posts.
|
60 |
|
61 |
```json
|
62 |
+
{
|
63 |
+
"id": "1006cei",
|
64 |
+
"post_title": "Amazing Water Filter Invention",
|
65 |
+
"post_author": "User123",
|
66 |
+
"post_body": "Check out this incredible water filter!",
|
67 |
+
"post_url": "https://example.com/water_filter",
|
68 |
+
"post_pic": "https://example.com/images/water_filter.jpg",
|
69 |
+
"subreddit": "inventions",
|
70 |
+
"post_timestamp": "2023-01-01T12:00:00Z",
|
71 |
+
"post_upvotes": 123,
|
72 |
+
"post_permalink": "/r/inventions/comments/1006cei/amazing_water_filter_invention/",
|
73 |
+
"comments": {
|
74 |
+
"CommentID": ["abc123", "def456"],
|
75 |
+
"CommentAuthor": ["User456", "User789"],
|
76 |
+
"CommentBody": ["This is awesome!", "How does it work?"],
|
77 |
+
"CommentTimestamp": ["2023-01-01T12:30:00Z", "2023-01-01T13:00:00Z"],
|
78 |
+
"CommentUpvotes": [5, 7],
|
79 |
+
"CommentPermalink": ["/r/inventions/comments/1006cei/amazing_water_filter_invention/abc123/", "/r/inventions/comments/1006cei/amazing_water_filter_invention/def456/"],
|
80 |
+
"replies": [
|
81 |
{
|
82 |
+
"ReplyID": ["xyz987", "pqr654"],
|
83 |
+
"ReplyAuthor": ["User123", "User789"],
|
84 |
+
"ReplyBody": ["Thank you!", "The filter uses a combination of activated carbon and ceramic membranes to remove impurities from water."],
|
85 |
+
"ReplyTimestamp": ["2023-01-01T12:45:00Z", "2023-01-01T13:15:00Z"],
|
86 |
+
"ReplyUpvotes": [10, 3],
|
87 |
+
"ReplyPermalink": ["/r/inventions/comments/1006cei/amazing_water_filter_invention/abc123/xyz987/", "/r/inventions/comments/1006cei/amazing_water_filter_invention/def456/pqr654/"]
|
88 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
]
|
90 |
+
}
|
91 |
+
}
|
|
|
92 |
```
|
93 |
The dataset includes the following fields:
|
94 |
|
95 |
```json
|
96 |
+
id: string - Unique identifier for the post.
|
97 |
+
post_title: string - Title of the post.
|
98 |
+
post_author: string - Username of the author who posted.
|
99 |
+
post_body: string - Body/content of the post.
|
100 |
+
post_url: string - URL of the post.
|
101 |
+
post_pic: Image - Image associated with the post.
|
102 |
+
subreddit: string - Subreddit where the post was made.
|
103 |
+
post_timestamp: string - Timestamp of when the post was made.
|
104 |
+
post_upvotes: int32 - Number of upvotes the post received.
|
105 |
+
post_permalink: string - Permanent link to the post.
|
106 |
+
comments: Sequence - Sequence of comments associated with the post.
|
107 |
+
- CommentID: string - Unique identifier for the comment.
|
108 |
+
- CommentAuthor: string - Username of the comment author.
|
109 |
+
- CommentBody: string - Content/body of the comment.
|
110 |
+
- CommentTimestamp: string - Timestamp of when the comment was made.
|
111 |
+
- CommentUpvotes: int32 - Number of upvotes the comment received.
|
112 |
+
- CommentPermalink: string - Permanent link to the comment.
|
113 |
+
- replies: Sequence - Sequence of replies to the comment.
|
114 |
+
- ReplyID: string - Unique identifier for the reply.
|
115 |
+
- ReplyAuthor: string - Username of the reply author.
|
116 |
+
- ReplyBody: string - Content/body of the reply.
|
117 |
+
- ReplyTimestamp: string - Timestamp of when the reply was made.
|
118 |
+
- ReplyUpvotes: int32 - Number of upvotes the reply received.
|
119 |
+
- ReplyPermalink: string - Permanent link to the reply.
|
120 |
```
|
121 |
|
122 |
## Dataset Creation
|