-
Notifications
You must be signed in to change notification settings - Fork 0
/
business-operations.html
47 lines (36 loc) · 1.58 KB
/
business-operations.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
---
layout: default
title: Business Operations
---
<!-- templates for the widgets -->
{% include templates.html %}
<!-- This is "preparation" for the real metric that will be updated
this reads form _data direct, as opposed to the update of the data itself (from _site/assets/data -->
<div class="update">
Last update: <span id="last_update_date2"></span>
</div>
<h4 id="sr">Sponsored Research Administration</h4>
<div id="sponsored_research" class=row></div>
<!-- <div class="update">
Last update: <span id="last_update_date1"></span>
</div> -->
<!--<h3 id="fa">Finance & Administration</h3>-->
<div id="finance"></div>
<!-- <h4>Social Media</h4> -->
<!-- <div id="socialmedia" class="row"></div> -->
<script>
var file = "{{site.baseurl}}assets/data/sponsored_research_administration.tsv";
loadBusinessOperationsMetrics(file, 'sponsored_research');
file = "{{site.baseurl}}assets/data/finance_and_administration.tsv";
createUniqueGroupDivs(file, 'finance', 'Group')
loadBusinessOperationsMetrics(file, '');
d3.tsv("{{site.baseurl}}assets/data/update_dates.tsv", function (data) {
let last_update = data[0]["Last Update"]
// document.getElementById("last_update_date1").innerHTML = last_update;
document.getElementById("last_update_date2").innerHTML = last_update;
});
// var file = "{{site.baseurl}}assets/data/business_operations.tsv";
// createUniqueGroupDivs(file, 'mainmetrics', 'Group')
// loadBusinessOperationsMetrics(file, '');
// loadSocialMediaMetrics("assets/data/social_media.tsv", 'socialmedia');
</script>