cathw commited on
Commit
6fa6f59
1 Parent(s): 6d14fcb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -29
README.md CHANGED
@@ -56,43 +56,55 @@ While the Reddit Climate Comment dataset offers valuable insights into discussio
56
 
57
  ## Dataset Structure
58
 
59
- The organized dataset is structured in a hierarchical array format to facilitate efficient navigation and analysis of comments within specific subreddits, post titles, and post IDs. Each element in the array represents a subreddit community, containing information about individual posts within that subreddit.
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
- "dataset": "Reddit Climate Comment",
65
- "subreddit": "climate",
66
- "post_id": 1,
67
- "post_title": "Example Post Title 1",
68
- "comments": [
69
- {
70
- "author": "Author Name",
71
- "comment_body": "This is a sample comment.",
72
- "timestamp": "2024-01-31 12:34:56",
73
- "upvotes": 10
74
- },
75
- {
76
- "author": "Another Author",
77
- "comment_body": "This is another sample comment.",
78
- "timestamp": "2024-01-31 13:45:32",
79
- "upvotes": 5
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
- PostID (Integer): original post identifier.
90
- PostTitle (String): title of the Reddit post, summarizing the topic of discussion.
91
- Comments (Array):contains individual comments associated with the post.
92
- Author (String): username of the comment author.
93
- CommentBody (String): the text content of the comment.
94
- Timestamp (String): timestamp indicating when the comment was created (in UTC).
95
- Upvotes (Integer): number of upvotes received for the comment.
 
 
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