Download this query on Quarry of 50k random users (with userpages who registered before 2020-10)

Function for calculating future dates

Building one SQL query for each user's edits

Querying the database with a manually-written query

Test to query 5 editors from the live SQL database

Query all 50,000 editor histories

Plot results

Assignment 2

This does not check to see if the editor actually made an edit to an article, only that they registered. Expand to filter out every user who did not make an edit in their first six months. You will need to either keep the first query to the revision table for every user and add a second query for every user to filter out those who did not make an edit, or you can try to modify the first query to revision table in the database to do return a result that will let you measure survival and do the filtering. Remember that you must join with the page table to filter by namespaces (articles are namespace 0). Here is an example query for getting a user's edits: https://quarry.wmcloud.org/query/59069