An open API service indexing awesome lists of open source software.

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.

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