GithubHelp home page GithubHelp logo

ayushsubedi / datainnews_v2 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 77.1 MB

Data in News project, redone using Github Actions.

Home Page: https://datainnews.herokuapp.com/

License: MIT License

Python 9.70% HTML 79.17% Shell 0.21% CSS 8.76% JavaScript 2.17%
work-in-progress flask heroku github-actions twint statistics newspapers dataset articles

datainnews_v2's Introduction

Data in NEWS

Data in NEWS portal

How journalists use data in their reporting or in their writing can be viewed as a reflection of the country’s demand for statistics and data. Back in 2020, I developed an indicator model (for The World Bank) to assess the use of data by Nepali news portals based on the methodology proposed by Klein, Galdin, and Mohamedou 2016.

The results from the project was used in the research article published at http://documents1.worldbank.org/curated/en/805261601023506163/pdf/Use-of-Data-in-the-Private-Sector-of-Nepal-The-Current-State-and-Opportunities-in-Finance-Education-and-the-Media.pdf

As of 9th February 2020, the results showed that very few news articles indicate the source of data or mention development indicators. However, articles that discuss data, reports, research, statistics, and related topics do critically engage with these ideas.

Unfortunately, the data collection process was halted because we ran out of our AWS Activate for Startups credits.

TODOS

  • create a simple architecture diagram
  • curate a list of twitter handles of Nepali newspapers that put URL to their newspapers
  • use twint to create datasets (historic)
  • check if url is present, url does not 404, and url belongs to the publisher
  • use Newspaper to collect important information (author, etc) and complete the dataset
  • research dash, swifter and pandarallel
  • optimize regular expression functions (if possible this should be performed during scraping)
  • create a sqlite database to hold access information (and design schema around other meta) or find and alternative
  • add checkpoints (using twint resume or build it manually)

POC

  • create a full working version of the product
  • research downloading twint as pandas to merge with previous data

Twitter handles

  • @kathmandupost
  • @thehimalayan
  • @NepaliTimes
  • @OnlineKhabar_En
  • @RepublicaNepal

The Frugal way

  • This project leverages on Github Actions for scheduling and scraping purposes.
  • This project is hosted on Heroku free tier (free ssl)
  • Uses amazing open source projects, primariliy (Twint, Newspaper) etc

datainnews_v2's People

Contributors

ayushsubedi avatar

Watchers

 avatar

datainnews_v2's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.