Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,72 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- feature-extraction
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- finance
|
| 9 |
+
- reddit
|
| 10 |
+
- social-media
|
| 11 |
+
- sentiment-analysis
|
| 12 |
+
- s&p500
|
| 13 |
+
pretty_name: Reddit Finance Posts SP50
|
| 14 |
+
size_categories:
|
| 15 |
+
- 100K<n<1M
|
| 16 |
+
---
|
| 17 |
+
# Reddit Finance Posts Dataset (Apple, Tesla, Microsoft)
|
| 18 |
+
|
| 19 |
+
This dataset contains 431,923 Reddit posts collected from 20 finance-related subreddits via the Reddit API.
|
| 20 |
+
As keywords, all S&P 500 companies were used. The included subreddits are:
|
| 21 |
+
|
| 22 |
+
```
|
| 23 |
+
stocks, wallstreetbets, investing, StockMarket, options, RobinHood,
|
| 24 |
+
pennystocks, SecurityAnalysis, personalfinance, Dividends, CryptoCurrency,
|
| 25 |
+
CryptoMarkets, ETFs, FinancialIndependence, ValueInvesting, quant,
|
| 26 |
+
algotrading, forex, economy, Superstonk, spacs, financialplanning
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
## About This Dataset
|
| 30 |
+
|
| 31 |
+
The provided data collection pipeline (see [**emilpartow/financial-sentiment-pipeline**](https://github.com/emilpartow/financial-sentiment-pipeline)) makes it simple to expand the dataset with more comments, different time frames, additional companies, or other subreddits as needed.
|
| 32 |
+
|
| 33 |
+
If you need a larger or customized dataset, you can easily adapt and rerun the pipeline to collect more data for your own use case.
|
| 34 |
+
|
| 35 |
+
## Dataset Overview
|
| 36 |
+
|
| 37 |
+
Each row in the dataset contains metadata and content for a Reddit comment or post, with the following columns:
|
| 38 |
+
|
| 39 |
+
- `id`: Reddit post ID
|
| 40 |
+
- `title`: Title of the post
|
| 41 |
+
- `text`: Body text of the post (if available)
|
| 42 |
+
- `created_utc`: Timestamp in UTC
|
| 43 |
+
- `created_datetime`: Datetime (ISO format)
|
| 44 |
+
- `author`: Reddit username
|
| 45 |
+
- `score`: Reddit score (upvotes minus downvotes)
|
| 46 |
+
- `num_comments`: Number of comments (for posts)
|
| 47 |
+
- `upvote_ratio`: Upvote ratio (for posts)
|
| 48 |
+
- `flair`: Post flair (if available)
|
| 49 |
+
- `permalink`: Direct Reddit link to the comment or post
|
| 50 |
+
- `url`: URL (if different from permalink)
|
| 51 |
+
- `subreddit`: Name of the subreddit
|
| 52 |
+
- `company`: The matched company keyword (e.g. `Apple`, `Tesla`, or `Microsoft`)
|
| 53 |
+
|
| 54 |
+
## Data Collection
|
| 55 |
+
|
| 56 |
+
All posts were collected using [PRAW (Python Reddit API Wrapper)](https://praw.readthedocs.io/).
|
| 57 |
+
Data processing pipeline can be found here:
|
| 58 |
+
➡️ [**emilpartow/financial-sentiment-pipeline**](https://github.com/emilpartow/financial-sentiment-pipeline)
|
| 59 |
+
|
| 60 |
+
## Notes
|
| 61 |
+
|
| 62 |
+
- **No manual or verbal content review was performed:** The dataset consists of comments as collected via the Reddit API. There may be offensive, biased, or otherwise inappropriate content present.
|
| 63 |
+
- Please respect Reddit’s API Terms of Use when working with this dataset.
|
| 64 |
+
|
| 65 |
+
## License
|
| 66 |
+
|
| 67 |
+
[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
| 68 |
+
|
| 69 |
+
---
|
| 70 |
+
|
| 71 |
+
**Questions or feedback?**
|
| 72 |
+
Feel free to open an issue or discussion in the linked GitHub repository!
|