23. wikilytics platform
Plugins (Python) Map / Reduce (JS)
Analysis
BSON Document in New Collection in
Storage MongoDB MongoDB
Output
24. Each analysis is a plugin...
def new_editor_count(var, editor, **kwargs):
'''
Summary: This function generates an overview of the number of
new_wikipedians for a given year / month combination.
Purpose: This data can be used to compare with Erik Zachte's
stats.download.org to make sure that we are using the same numbers.
'''
# headers = ['year', 'month', 'count']
new_wikipedian = editor['new_wikipedian']
var.add(new_wikipedian, {0:1})
return var