cathw commited on
Commit
531fe87
·
verified ·
1 Parent(s): c215fa0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +53 -41
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 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
 
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