Skip to content

Instantly share code, notes, and snippets.

@friedger
friedger / gist:d6fa42a9a8331abb82db2805b6dc0675
Created March 20, 2019 20:36
Google Apps Script to massage Blockstack App Mining results
var months = ["March 2019 w/ Digital Rights Reviewer", "March 2019", "February 2019", "January 2019", "December 2018"]
function all() {
var overview = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Overview")
overview.clear();
var appRankings = {};
perMonth("March 2019 w/ Digital Rights Reviewer", appRankings, 0, 1, 36, 10, 26, 21, 32)
perMonth("March 2019", appRankings, 0, 1, 30, 10, 26, 21, -1)
perMonth("February 2019", appRankings, 0, 1, 29, 16, 8, 26, -1 )