Public
Edited
Sep 1, 2023
Insert cell
Insert cell
data = FileAttachment("repudioalvandalo_2021-04-25T00:01:00.00Z_2021-06-01T00:01:00.00Z.csv").csv()
Insert cell
{
const tweets = {};
for (let i = 0; i < data.length; i++) {
const t = data[i];
if (tweets[t.user_id] === undefined) {
tweets[t.user_id] = t.text;
}
}
return tweets
}
Insert cell
outdeg = FileAttachment("Datos Procesados - Outdegree yoapoyoamipolicia.csv").csv()
Insert cell
{
const out = {}
for (let i = 0; i < outdeg.length; i++) {
out[outdeg[i].Id] = outdeg[i];
}
return out
}
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more