Code Monkey home page Code Monkey logo

a2-hcds-hcc's Introduction

A2-hcds-hcc

Introduction

In today's science it is more than ever of great importance to document research results in detail. In the field of Open Science it is also important to provide used data to enable reproducibility or replicability. Not only does this serve to make results comprehensible, but it also enables them to be challanged. It is the duty of every scientist to critically evaluate the work of others as well as own research. This project was created during the course "Human Centered Data Science" at the Freie Universität Berlin to train concepts of reproducibility and replicability.

The goal of this research was to visualize the website traffic of the english wikipedia page between January 2008 and October 2020. Results are presented as a plot.

Data and Results

The given folder structure in this project should provide clarity and easy of use. All fetched and processed data can be found in raw_data as .json files or clean_data as .csv respectively. Analysis of the given data was done with pandas and results are presented as a plot that can be found in the folder results.

Used Software and API

This data used in this research was fetched by following APIs:

  1. The Legacy Pagecounts API (documentation, endpoint) provides access to desktop and mobile traffic data from December 2007 through July 2016.
  2. The Pageviews API (documentation, endpoint) provides access to desktop, mobile web, and mobile app traffic data from July 2015 through last month.

The data was analysed with the following software:

jupyter = "^1.0.0"
python = "^3.6.1"
requests = "^2.24.0"
pandas = "^1.1.3"
ipykernel = "^5.3.4"
matplotlib = "^3.3.2"

To replicate the workflow, one can use the poetry script, given in the root folder. This will install all required dependencies. It is recommended to do this research on a unix system due to the fact that dependency installation may be troublesome on Windows due to different dependency installation processes.

In order to use this workflow, please ensure that you have a Python version greater or equal to 3.6.1, a working installation of Poetry and git installed. The project setup is described in the following paragraph.

Setup

  1. Clone this repository (or use SSH) and move it into the repo root.
	git clone https://github.com/kuzniarz/A2-hcds-hcc.git
	cd A2-hcds-hcc
  1. Install the dependencies in the repo root.
	poetry install
  1. Create a subshell within the virtual environment by running:
	poetry shell
  1. Open the project with Jupyter in your browser.
	jupyter notebook

License

This project ist MIT licensed. Further information can be found in the LICENSE file.


a2-hcds-hcc's People

Contributors

kuzniarz 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.