Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -20,7 +20,7 @@ The Reddit Climate Comment dataset is a collection of comments extracted from su
|
|
20 |
|
21 |
### Dataset Details
|
22 |
|
23 |
-
The dataset is centered around discussions related to clean energy and climate change, obtained through the Reddit API by extracting information from the top 1000 posts within specified subreddits and collected using a Python Library, Praw, on January 31th, 2024
|
24 |
|
25 |
- **Curated by:** Reddit users and the Reddit platform
|
26 |
- **Language(s):** English
|
@@ -111,7 +111,10 @@ Subreddit (String): represents the name of the subreddit community where discuss
|
|
111 |
|
112 |
### Curation Rationale
|
113 |
|
114 |
-
|
|
|
|
|
|
|
115 |
|
116 |
### Source Data
|
117 |
|
@@ -119,17 +122,17 @@ The source data for this dataset comprises comments contributed by Reddit users
|
|
119 |
|
120 |
#### Data Collection and Processing
|
121 |
|
122 |
-
The data collection process involved extracting comments from the top posts in selected subreddits, including "Climate," "Energy," "RenewableEnergy", and “ClimateChange”, using the Reddit API. The PRAW Python library was utilized for interacting with the Reddit API. Specifically, the top
|
123 |
|
124 |
The processing steps included:
|
125 |
|
126 |
-
1. Text Cleaning:
|
127 |
-
2. Parsing Timestamps:
|
128 |
-
3. Duplicate Removal:
|
129 |
-
4. Updated Data Organization
|
130 |
-
To enhance the structure and organization of the dataset, under the same subreddit community, we group comments under the same post title, identified by a unique post ID. Each post ID serves as an identification number, and all relevant information, including author, comment bodies, timestamps, and upvotes, is grouped together within this array-like structure.
|
131 |
|
132 |
**Benefits of the New Structure**
|
|
|
133 |
1. Each post is uniquely identified by an assigned post ID, facilitating easy referencing and retrieval of information for specific posts.
|
134 |
2. Structured Comment Grouping provides a coherent and organized representation of discussions under each post and each subreddit community.
|
135 |
3. The array-based structure enhances the dataset's readability and accessibility, streamlining the process of extracting and analyzing information for each post.
|
@@ -168,8 +171,6 @@ Users should be made aware of the risks, biases and limitations of the dataset.
|
|
168 |
|
169 |
## Citation [optional]
|
170 |
|
171 |
-
<!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
|
172 |
-
|
173 |
**BibTeX:**
|
174 |
|
175 |
[More Information Needed]
|
|
|
20 |
|
21 |
### Dataset Details
|
22 |
|
23 |
+
The dataset is centered around discussions related to clean energy and climate change, obtained through the Reddit API by extracting information from the top 1000 posts within specified subreddits and collected using a Python Library, Praw, on January 31th, 2024. These subreddits include “Climate”, “Energy”, “RenewableEnergy”, and “ClimateChange”. The dataset collected 20 comments under each post. The selection of curated subreddit names is determined by assessing both the relevance of the subreddit to energy and climate change and the size of the subreddit community, measured by the number of Reddit users who have joined. In the dataset, under the “Climate” subreddit category, there are 14,008 comments (184k users in the community), while 10,963 comments under “ClimateChange” subreddit category (89k users in the community); “Energy” subreddit has 13,741 comments (181k users in the community), and the “RenewableEnergy” subreddit has 5,397 comments (124k users in the community). In total, there are 44,109 comments across all subreddit. During the data collection process, timestamps were converted from Unix timestamps (seconds since the epoch) in the raw data into a UTC datetime object.
|
24 |
|
25 |
- **Curated by:** Reddit users and the Reddit platform
|
26 |
- **Language(s):** English
|
|
|
111 |
|
112 |
### Curation Rationale
|
113 |
|
114 |
+
1. Research Interest in Climate Change and Energy Discourse: There is a growing interest in studying public discourse and attitudes towards climate change and energy sustainability. Reddit provides a rich source of user-generated content that reflects diverse perspectives, opinions, and discussions on these critical topics.
|
115 |
+
2. Understanding Public Opinion and Engagement: By analyzing discussions on Reddit, researchers can gain insights into public opinion, sentiment, and engagement regarding climate change and energy issues. Understanding the discourse dynamics and prevalent themes can inform policymakers, businesses, and advocacy groups about public perceptions and concerns.
|
116 |
+
3. Comparative Analysis Across Subreddits: The inclusion of multiple subreddits related to climate change, energy, and renewable energy allows for comparative analysis. By comparing discussions across different thematic areas, researchers can identify common trends, differences in perspectives, and evolving narratives within the Reddit community.
|
117 |
+
4. Community Representation and Diversity: The dataset aims to include comments from diverse subreddit communities to ensure a broad representation of opinions and perspectives. This diversity enriches the dataset and enables researchers to capture a wide range of voices and viewpoints on climate and energy-related topics.
|
118 |
|
119 |
### Source Data
|
120 |
|
|
|
122 |
|
123 |
#### Data Collection and Processing
|
124 |
|
125 |
+
The data collection process involved extracting comments from the top posts in selected subreddits, including "Climate," "Energy," "RenewableEnergy", and “ClimateChange”, using the Reddit API. The PRAW Python library was utilized for interacting with the Reddit API. Specifically, the top 1000 posts were considered in each subreddit, with approximately 20 comments collected under each post. The data collection was performed on January 31st, 2024 with code in [reddit_data_collection.py](https://huggingface.co/datasets/cathw/reddit_climate_comment/blob/main/reddit_data_collection.py).
|
126 |
|
127 |
The processing steps included:
|
128 |
|
129 |
+
1. Text Cleaning: remove unnecessary characters, HTML tags, or formatting artifacts, and conversion of text to lowercase for consistency.
|
130 |
+
2. Parsing Timestamps: convert timestamps to a standardized date-time format.
|
131 |
+
3. Duplicate Removal: check for and remove duplicate comments to ensure dataset integrity.
|
132 |
+
4. Updated Data Organization: to enhance the structure and organization of the dataset, under the same subreddit community, we group comments under the same post title, identified by a unique post ID. Each post ID serves as an identification number, and all relevant information, including comment ID, author, comment bodies, timestamps, upvotes, and number of replies, is grouped together within this array-like structure.
|
|
|
133 |
|
134 |
**Benefits of the New Structure**
|
135 |
+
|
136 |
1. Each post is uniquely identified by an assigned post ID, facilitating easy referencing and retrieval of information for specific posts.
|
137 |
2. Structured Comment Grouping provides a coherent and organized representation of discussions under each post and each subreddit community.
|
138 |
3. The array-based structure enhances the dataset's readability and accessibility, streamlining the process of extracting and analyzing information for each post.
|
|
|
171 |
|
172 |
## Citation [optional]
|
173 |
|
|
|
|
|
174 |
**BibTeX:**
|
175 |
|
176 |
[More Information Needed]
|