Skip to content

Media news data processing of Key Performance Indicators that will be included in reports that evaluate how the COVID global sanitary crisis affects the tourism sector in balearic islands.

Notifications You must be signed in to change notification settings

Fundacio-Bit/covid-tourism-rss-news-reporting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TOURISM RSS NEWS REPORTING

Project developed and managed by:

Agència d'Estratègia Turística de les Illes Balears (AETIB)

Fundació Balears d'Innovació i Tecnologia (Fundació BIT)

Used to provide media news processed data to the AETIB.

Data are retrieved from a database populated by an RSS news extraction procedure.

Architecture

  • Version: 1.0.0
  • Development Status: Under development
  • Runtime Environment: NodeJS
  • Database Environment: Mongo
  • Programming Language: Javascript
  • User Interface: Command line

Requirements

  • NodeJS

Current version: v8.11.3 (also working with v10.19.0).

It is advised to use prettier to ensure good formatting practices.

  • MongoDB

Current version: v4.0.9

Usage

  • Clone the repository
git clone https://github.com/Fundacio-Bit/covid-tourism-rss-news-reporting.git
  • Install Node dependencies
npm install
  • KPIs and news by term ZIP creation _ Development _ Execute
node main.js --date <date> --mode dev

Valid argument is 'lastWeek' to start the analysis with data from one week go. Or a date formatted as "YYYY-MM-DD" as statring date.

_ Production _

Execute:

node main.js --date <date> --mode prod

Valid argument is 'lastWeek' to start the analysis with data from one week go. Or a date formatted as "YYYY-MM-DD" as statring date.

You can also program a CRONTAB to schedule weekly executions. I.e:

00 5 * * 1  node /home/ubuntu/fbit_projects/escolta_activa/covid-tourism-rss-news-reporting/main.js --date lastWeek --mode prod

License

MIT License

About

Media news data processing of Key Performance Indicators that will be included in reports that evaluate how the COVID global sanitary crisis affects the tourism sector in balearic islands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •