Coder Social home page Coder Social logo

data-512-a1's Introduction

Human Centered Data Science - A1: Data Curation

The goal of this repository is to construct, analyze, and publish a dataset of monthly traffic on English Wikipedia from January 1 2008 through September 30 2018.

API Documentation

I have used two APIs for collecting data:

  1. The (Legacy) Page Count API, at monthly granularity: Documentation
  2. The Page View API, at monthly granularity: Documentation

Directory Structure

.
├── csv
│   └── en-wikipedia_traffic_200712-201809.csv
├── json
│   ├── pagecounts_desktop-site_2007120100-2016080100.json
│   ├── pagecounts_mobile-site_2007120100-2016080100.json
│   ├── pageviews_desktop_2015070100-2018100100.json
│   ├── pageviews_mobile-app_2015070100-2018100100.json
│   └── pageviews_mobile-web_2015070100-2018100100.json
├── README.md
└── hcds-a1-data-curation.ipynb  

CSV Data Description

Column Description
year The year of the data point
month The month of the data point. The year-month pair serve as a key
pageview_mobile_views The number of views as recorded by mobile (app + web) visits
pageview_desktop_views The number of views as recorded by desktop site (web) visits
pagecount_mobile_views The number of views as recorded by mobile visits by the legacy API
pagecount_desktop_views The number of views as recorded by desktop site visits
pageview_all_views The total number of views as recorded by the PageView API
pagecount_all_views The total number of views as recorded by the Page Count API

Miscellaneous

  1. The Page Views API provides a mechanism to filter by user agent. As a result, the final dataset has the minor anomaly that the Page Count values include bots (spiders/crawlers/etc), whereas the Page Views API does not.

Visualization

Wikimedia Visits from 2007 to 2018

License

This code is available under the MIT License

Wikimedia Terms of Use

data-512-a1's People

Contributors

havanagrawal avatar

Watchers

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