Giter Site home page Giter Site logo

melb_stackoverflow_users's Introduction

Melbourne Stackoverflow users

Background

Millions of users flood to stackoverflow to have their questions addressed or help those who want their questions answered. I sought to address only a small portion of those users, focusing one taking the URL of any individual and comparing it against the Melbourne, Australia cohort.

Task

In this task, I created an application where you run the stackoverflow_melb.py file and the 'QueryResults.csv' file is automatically downloaded. You then run the user_comparison.py file where you'll be prompted for a user url. Once you've entered the url you'll receive a response along these lines: "https://stackoverflow.com/users/696257/dkulkarni is in the top # percent of Melbourne Stackoverflow users based on reputation"

The link will be the one you provided and the calculation will come as a result of processing the information from the individual link and comparing that reputation score with the broader Melbourne cohort's reputation scores.

Implementation

This package has been built for Python 3.0+ If you don't have it downloaded you can download the latest version at https://www.python.org/downloads/

Be sure to install the following packages using the pip install method:

  • selenium
  • bs4
  • requests
  • pandas
  • ChromeDriverManager

The order is important. First run the stackoverflow_melb.py file. The code will be some offshoot of the following:
python .\stackoverflow_melb.py

As a result a file titled 'QueryResults.csv' will automatically download. Be sure to move this into your code's current working directory before proceeding. Otherwise the rest of your code won't work

Then run the next file with code that looks like this:
python .\user_comparison.py

When prompted put in a url and let the magic happen.

That's all she wrote folks!

melb_stackoverflow_users's People

Contributors

elhawlir avatar

Watchers

 avatar

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.