https://github.com/enzon3/tws-dataset_gen
Program that slowly generates a dataset of news titles and the sentiment of the titles.
https://github.com/enzon3/tws-dataset_gen
data-analysis data-science dataset
Last synced: 2 months ago
JSON representation
Program that slowly generates a dataset of news titles and the sentiment of the titles.
- Host: GitHub
- URL: https://github.com/enzon3/tws-dataset_gen
- Owner: EnZon3
- License: gpl-3.0
- Created: 2022-06-27T23:18:45.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-19T00:43:20.000Z (almost 4 years ago)
- Last Synced: 2023-03-05T04:37:21.567Z (over 3 years ago)
- Topics: data-analysis, data-science, dataset
- Language: JavaScript
- Homepage: https://TWS-datasetgen.enzon3.repl.co
- Size: 181 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TWS-Dataset
TWS-Dataset is a program that slowly generates a dataset of top headlines from english countries.
It's for a project that I'm working on called 'The World's Sentiment'.
I'm only going to give a quick explanation of what TWS is and what it's doing.
# What is The World's Sentiment?
TWS is a project of mine that I'm working on.
The project's main goal is to analyze the sentiment of what is going on in the world.
TWS will become a yearly thing that I do every year or month.
## When is TWS going to be finished?
The answer is I don't know. It really depends on how long I run it for. Could be a few days, weeks, or even months. or if I run out of storage space to hold the dataset.
## What is TWS doing?
Every 8 hours, TWS-dataset will append the top headlines from the english countries to a file, and the sentiment of the headlines will be analyzed and appended to a file.
## How do I run TWS?
Either you fork this project and run it yourself, or you simply don't, because the endpoint is protected by authentication.
### If I fork this project, how do I run it?
git clone https://github.com/EnZon3/TWS-dataset.git
cd TWS-dataset
npm install
node .
Don't forget to add a .env file to the root of the project with the following variables:
```
API_KEY=
PASSWORD=
```
To get your API key, go to https://newsapi.org/ and create an account.
PASSWORD is the password you use to access the /getTopHeadlines endpoint.
## License
TWS-Dataset_gen is a program that slowly generates a dataset of the sentiment scores of news headlines' titles
Copyright © 2022 EnZon3
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see