-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathindex-db.html
97 lines (83 loc) · 3.42 KB
/
index-db.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<html>
<head>
<title>Big Cows 🐮: Databases</title>
<meta charset="UTF-8">
<!-- from http://www.menucool.com/tooltip/css-tooltip -->
<link rel="stylesheet" href="tooltip/tooltip.css" type="text/css"/>
<link rel="stylesheet" href="tablesorter/style.css" type="text/css" media="print, projection, screen" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="tablesorter/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="stats-db.js"></script></script>
</head>
<body>
<a href="https://github.com/lintool/scholar-scraper/"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://github-camo.global.ssl.fastly.net/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<h1>Big Cows 🐮: Databases</h1>
<p>by <a href="https://cs.uwaterloo.ca/~jimmylin/">Jimmy Lin</a> (University of Waterloo)</p>
<p>How did names get on this list? See info <a href="index.html"><i>ad hoc</i> lists</a>, including known issues.</p>
<div id="date" style="width:800px"><small>Data scraped from Google
Scholar: "name", "citations", "h-index", and "i10-index" are from
author profile; "year" denotes year of first citation. The columns
marked "/y" indicates division by years since first
citation.</small></div>
<p/>
<table id="stats" border="0" class="tablesorter" width="300">
<thead>
<tr>
<th/>
<th>name</th>
<th>year</th>
<th>citations</th>
<th>/y</th>
<th>h-index</th>
<th>/y</th>
<th>i10-index</th>
<th>/y</th>
</tr>
</thead>
</table>
<script>
function round(n) {
return Math.round(n*10)/10;
}
for (var i=0; i< data.length; i++) {
var regex = /user=([^&]+)/;
var match = regex.exec(data[i].url);
var userId = match[1];
var row = $('<tr/>');
var y = (2021 - data[i].year);
row.append($('<td>'));
row.append($('<td style="text-align: left"/>')
.html('<a href="' + data[i].url + '" class="tooltip">' + data[i].name +
'<span><img class="callout" src="tooltip/tooltip.gif" />' +
'<img style="padding-bottom: 10px" src="images/' + userId + '.png"/><br/>' +
'<b>' + data[i].name + '</b><br/>' +
data[i].affiliation + '<br/>' +
'<small><i>' + data[i].keywords.join(', ') + '</i></small><br/>' +
'</span></a>'));
row.append($('<td/>').html(data[i].year));
row.append($('<td/>').html(data[i].stats.citations[0]));
row.append($('<td/>').html(Math.round(data[i].stats.citations[0]/y)));
row.append($('<td/>').html(data[i].stats.hindex[0]));
row.append($('<td/>').html(round(data[i].stats.hindex[0]/y)));
row.append($('<td/>').html(data[i].stats.i10index[0]));
row.append($('<td/>').html(round(data[i].stats.i10index[0]/y)));
$("#stats").append(row);
}
// http://tablesorter.com/docs/
$(document).ready(function() {
$("#date").append("<p><small>Last updated: " + date + "</small></p>");
$("#stats").tablesorter({sortList: [[5,1], [3,1]]});
// https://stackoverflow.com/questions/6549518/jquery-tablesorter-with-row-numbers
var table = $("#stats");
table.bind("sortEnd",function() {
var i = 1;
table.find("tr:gt(0)").each(function(){
$(this).find("td:eq(0)").text(i);
i++;
});
});
});
</script>
<p style="margin-top: 300px"/>
</body>
</html>