Platform
Resources
Pricing
Sign in
Get started
Sergio Rodríguez Gómez
Workspace
Fork
Public
By
Sergio Rodríguez Gómez
Edited
Sep 1, 2023
2
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.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
data
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
outdeg
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML