data = {
const url = "https://stat.ripe.net/data/bgplay/data.json?resource=84.205.67.0%2F24&unix_timestamps=TRUE&starttime=${starttime.getTime()/1000}&endtime=${endttime.getTime()/1000}";
let x = await fetch(url).then(j => j.json());
return x.data.events.map( x => {
let y = {};
y.ts = d3.timeParse("%s")( x.timestamp );
y.src = x.attrs.source_id + "-" + x.type;
y.type = x.type;
return y
});
}