Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -56,43 +56,55 @@ While the Reddit Climate Comment dataset offers valuable insights into discussio
|
|
56 |
|
57 |
## Dataset Structure
|
58 |
|
59 |
-
|
60 |
|
61 |
-
This representation includes a sample post from the "climate" subreddit with two comments. Huggingface dataset users can adjust the data fields and content according to desired actual dataset structure. This format helps users understand the structure and content of the dataset in a standardized way, which is suitable for Hugging Face datasets.
|
62 |
```json
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
```
|
84 |
The dataset includes the following fields:
|
85 |
|
86 |
```json
|
87 |
Subreddit (String): represents the name of the subreddit community where discussions are taking place (e.g., "climate").
|
88 |
Posts (Array): contains information about individual posts within the subreddit.
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
|
|
|
|
96 |
```
|
97 |
|
98 |
## Dataset Creation
|
|
|
56 |
|
57 |
## Dataset Structure
|
58 |
|
59 |
+
This JSON example represents a portion of the dataset focusing on the "climate" subreddit. It contains two sample posts, each with their respective post IDs and titles. Under each post, there are comments made by users, including the author's username, the comment's content, timestamp of the comment, number of upvotes it received, and the number of replies to the comment. This structure allows for efficient navigation and analysis of comments within specific subreddit communities and individual posts.
|
60 |
|
|
|
61 |
```json
|
62 |
+
[
|
63 |
+
{
|
64 |
+
"Subreddit": "climate",
|
65 |
+
"Posts": [
|
66 |
+
{
|
67 |
+
"PostId": 1,
|
68 |
+
"post_title": "Climate change impacts on biodiversity",
|
69 |
+
"comments": [
|
70 |
+
{
|
71 |
+
"CommentID": "abc123",
|
72 |
+
"Author": "EcoWarrior22",
|
73 |
+
"CommentBody": "This is a great article! It's crucial that we address the biodiversity crisis.",
|
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 |
Subreddit (String): represents the name of the subreddit community where discussions are taking place (e.g., "climate").
|
98 |
Posts (Array): contains information about individual posts within the subreddit.
|
99 |
+
PostID (Integer): original post identifier.
|
100 |
+
PostTitle (String): title of the Reddit post, summarizing the topic of discussion.
|
101 |
+
Comments (Array): contains individual comments associated with the post.
|
102 |
+
CommentID (String): unique ID for the comment.
|
103 |
+
Author (String): username of the comment author.
|
104 |
+
CommentBody (String): the text content of the comment.
|
105 |
+
Timestamp (String): timestamp indicating when the comment was created (in UTC).
|
106 |
+
Upvotes (Integer): number of upvotes received for the comment.
|
107 |
+
NumberofReplies (Integer): number of replies received for the comment.
|
108 |
```
|
109 |
|
110 |
## Dataset Creation
|