Community Data Science Workshops (Fall 2014)/Day 2 SQL project: Difference between revisions

From OpenHatch wiki
Content added Content deleted
imported>Jtmorgan
(add more account creation info)
imported>Mako
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{CDSW Moved}}

[[File:Database-mysql.png|right|260px]]
[[File:Database-mysql.png|right|260px]]


Line 16: Line 18:
=== Prerequisite ===
=== Prerequisite ===


To participate in the afternoon session, you must have an a Wikimedia account. If you do not have an account already, you can create one [https://en.wikipedia.org/wiki/Special:UserLogin here].
To participate in the afternoon session, you must have an a Wikimedia account. This is the account is used to run queries with Quarry. It is also an account you can use when you edit Wikipedia and other Wikimedia websites.

If you do not have a Wikimedia account already, <font size="+1">[https://en.wikipedia.org/wiki/Special:UserLogin >>click here to create an account <<]</font>.


If for some reason you are unable to create your account via the link above, try creating it via one of the links below. No matter which link you use, your account will allow you to log in to Quarry as well as any of the 100s of [https://meta.wikimedia.org/wiki/Wikimedia_projects Wikimedia project].
If for some reason you are unable to create your account via the link above, try creating it via one of the links below. No matter which link you use, your account will allow you to log in to Quarry as well as any of the 100s of [https://meta.wikimedia.org/wiki/Wikimedia_projects Wikimedia project].
Line 35: Line 39:


=== Notes ===
=== Notes ===
For this session, you will not need to use Python or type commands on the command line.
* For this session, you will not need to use Python or type commands on the command line.

==== Queries and other notes ====
* https://etherpad.wikimedia.org/p/CDSW_fall_2014_SQL_session_1

Latest revision as of 22:05, 15 March 2015

Page Moved
All material related to the Community Data Science Workshops have been moved from the OpenHatch wiki to a new dedicated wiki and this page is no longer being updated here. Please visit the new version of the page on the Community Data Science Collective wiki.


Building a Dataset using MySQL

In this project, we will explore a few ways to gather data from Wikimedia using MySQL and the Quarry web application. Once we've done that, we will download the results of our queries in CSV format which can be used to ask and answer questions and visualize data in the final session.

Goals

  • Learn how to use MySQL (a Structured Query Language) to build datasets.
  • Get set up to run MySQL queries to gather data from Wikimedia projects.
  • Practice running MySQL queries on your own to get data about who is editing particular Wikipedia articles.
  • Create a few collections of Wikipedia data that you can do research with in the final section.

Prerequisite

To participate in the afternoon session, you must have an a Wikimedia account. This is the account is used to run queries with Quarry. It is also an account you can use when you edit Wikipedia and other Wikimedia websites.

If you do not have a Wikimedia account already, >>click here to create an account <<.

If for some reason you are unable to create your account via the link above, try creating it via one of the links below. No matter which link you use, your account will allow you to log in to Quarry as well as any of the 100s of Wikimedia project.

Alternate account creation links



Practice

If you would like to practice SQL on your own, you can do so in the tutorial section of SQLZoo.

Notes

  • For this session, you will not need to use Python or type commands on the command line.

Queries and other notes