MCPcopy Index your code
hub / github.com/GoogleTrends/data / loadData

Function loadData

tableload.js:34–43  ·  view source on GitHub ↗
(csv)

Source from the content-addressed store, hash-verified

32 });
33
34 function loadData(csv) {
35 data = csv.data.map(function(d, i) {
36 d.id = i;
37 d.date = new Date(d.date);
38 return d;
39 });
40 data.sort(function(a, b) {return b.date - a.date;})
41 initFilters();
42 filterData();
43 }
44
45 function initFilters() {
46 var subjects = {}, coverage = {};

Callers

nothing calls this directly

Calls 2

initFiltersFunction · 0.85
filterDataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…