Skip to content

Commit

Permalink
Rendered jupyter notebooks to quarto
Browse files Browse the repository at this point in the history
  • Loading branch information
fer-aguirre committed Feb 21, 2024
1 parent b814c43 commit 58f4d9b
Show file tree
Hide file tree
Showing 25 changed files with 874 additions and 719 deletions.
1,003 changes: 539 additions & 464 deletions docs/pages/0.analisis_general.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/pages/1.@diegobranca.html
Original file line number Diff line number Diff line change
Expand Up @@ -4656,7 +4656,7 @@ <h1 class="title">Análisis de tweets atacando a <span class="citation" data-cit

<section id="datos" class="level3">
<h3 class="anchored" data-anchor-id="datos">Datos</h3>
<div class="cell" data-execution_count="43">
<div class="cell" data-execution_count="3">
<details>
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>df_attacks <span class="op">=</span> attacks.loc[attacks[<span class="st">&quot;to_journalist&quot;</span>].isin([USERNAME])]</span>
Expand All @@ -4670,7 +4670,7 @@ <h3 class="anchored" data-anchor-id="datos">Datos</h3>
<section id="frecuencia-de-ataques" class="level3">
<h3 class="anchored" data-anchor-id="frecuencia-de-ataques">Frecuencia de ataques</h3>
<p>Proporción de ataques = (Número de ataques / Número de menciones) * 100</p>
<div class="cell" data-execution_count="44">
<div class="cell" data-execution_count="4">
<details>
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a>journalist_mentions <span class="op">=</span> <span class="bu">len</span>(df.loc[df[<span class="st">&quot;to_journalist&quot;</span>].isin([USERNAME])])</span>
Expand All @@ -4694,15 +4694,15 @@ <h3 class="anchored" data-anchor-id="frecuencia-de-ataques">Frecuencia de ataque
<section id="frecuencia-de-los-ataques-en-función-del-número-de-seguidores" class="level3">
<h3 class="anchored" data-anchor-id="frecuencia-de-los-ataques-en-función-del-número-de-seguidores">Frecuencia de los ataques en función del número de seguidores</h3>
<p>Proporción de ataques por seguidor = Número de ataques / Número de seguidores</p>
<div class="cell" data-execution_count="45">
<div class="cell" data-execution_count="5">
<details>
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>proportion_followers <span class="op">=</span> (<span class="bu">len</span>(df_attacks) <span class="op">/</span> <span class="dv">401737</span>) <span class="op">*</span> <span class="dv">1000</span></span>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>proportion_followers <span class="op">=</span> (<span class="bu">len</span>(df_attacks) <span class="op">/</span> <span class="dv">400000</span>) <span class="op">*</span> <span class="dv">1000</span></span>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a>formatted_proportion <span class="op">=</span> <span class="st">&quot;</span><span class="sc">{:.2f}</span><span class="st">&quot;</span>.<span class="bu">format</span>(proportion_followers)</span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(<span class="ss">f&quot;Por cada 1K seguidores, hubo </span><span class="sc">{</span>formatted_proportion<span class="sc">}</span><span class="ss"> ataques para </span><span class="sc">{</span>USERNAME<span class="sc">}</span><span class="ss">&quot;</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(<span class="ss">f&quot;Por cada 1K seguidores, aproximadamente hubo </span><span class="sc">{</span>formatted_proportion<span class="sc">}</span><span class="ss"> ataques para </span><span class="sc">{</span>USERNAME<span class="sc">}</span><span class="ss">&quot;</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
<div class="cell-output cell-output-stdout">
<pre><code>Por cada 1K seguidores, hubo 1.77 ataques para @diegobranca</code></pre>
<pre><code>Por cada 1K seguidores, aproximadamente hubo 1.78 ataques para @diegobranca</code></pre>
</div>
</div>
</section>
Expand Down
12 changes: 6 additions & 6 deletions docs/pages/10.@vivicanosaok.html
Original file line number Diff line number Diff line change
Expand Up @@ -4672,7 +4672,7 @@ <h1 class="title">Análisis de tweets atacando a <span class="citation" data-cit

<section id="datos" class="level3">
<h3 class="anchored" data-anchor-id="datos">Datos</h3>
<div class="cell" data-execution_count="8">
<div class="cell" data-execution_count="3">
<details>
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>df_attacks <span class="op">=</span> attacks.loc[attacks[<span class="st">&quot;to_journalist&quot;</span>].isin([USERNAME])]</span>
Expand All @@ -4686,7 +4686,7 @@ <h3 class="anchored" data-anchor-id="datos">Datos</h3>
<section id="frecuencia-de-ataques" class="level3">
<h3 class="anchored" data-anchor-id="frecuencia-de-ataques">Frecuencia de ataques</h3>
<p>Proporción de ataques = (Número de ataques / Número de menciones) * 100</p>
<div class="cell" data-execution_count="9">
<div class="cell" data-execution_count="4">
<details>
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a>journalist_mentions <span class="op">=</span> <span class="bu">len</span>(df.loc[df[<span class="st">&quot;to_journalist&quot;</span>].isin([USERNAME])])</span>
Expand All @@ -4710,15 +4710,15 @@ <h3 class="anchored" data-anchor-id="frecuencia-de-ataques">Frecuencia de ataque
<section id="frecuencia-de-los-ataques-en-función-del-número-de-seguidores" class="level3">
<h3 class="anchored" data-anchor-id="frecuencia-de-los-ataques-en-función-del-número-de-seguidores">Frecuencia de los ataques en función del número de seguidores</h3>
<p>Proporción de ataques por seguidor = Número de ataques / Número de seguidores</p>
<div class="cell" data-execution_count="10">
<div class="cell" data-execution_count="5">
<details>
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>proportion_followers <span class="op">=</span> (<span class="bu">len</span>(df_attacks) <span class="op">/</span> <span class="dv">742466</span>) <span class="op">*</span> <span class="dv">1000</span></span>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>proportion_followers <span class="op">=</span> (<span class="bu">len</span>(df_attacks) <span class="op">/</span> <span class="dv">726000</span>) <span class="op">*</span> <span class="dv">1000</span></span>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a>formatted_proportion <span class="op">=</span> <span class="st">&quot;</span><span class="sc">{:.2f}</span><span class="st">&quot;</span>.<span class="bu">format</span>(proportion_followers)</span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(<span class="ss">f&quot;Por cada 1K seguidores, hubo </span><span class="sc">{</span>formatted_proportion<span class="sc">}</span><span class="ss"> ataques para </span><span class="sc">{</span>USERNAME<span class="sc">}</span><span class="ss">&quot;</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(<span class="ss">f&quot;Por cada 1K seguidores, aproximadamente hubo </span><span class="sc">{</span>formatted_proportion<span class="sc">}</span><span class="ss"> ataques para </span><span class="sc">{</span>USERNAME<span class="sc">}</span><span class="ss">&quot;</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
<div class="cell-output cell-output-stdout">
<pre><code>Por cada 1K seguidores, hubo 0.21 ataques para @vivicanosaok</code></pre>
<pre><code>Por cada 1K seguidores, aproximadamente hubo 0.22 ataques para @vivicanosaok</code></pre>
</div>
</div>
</section>
Expand Down
6 changes: 4 additions & 2 deletions docs/pages/11.@luisnovaresio.html
Original file line number Diff line number Diff line change
Expand Up @@ -4713,9 +4713,11 @@ <h3 class="anchored" data-anchor-id="frecuencia-de-los-ataques-en-función-del-n
<div class="cell" data-execution_count="5">
<details>
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>proportion_followers <span class="op">=</span> (<span class="bu">len</span>(df_attacks) <span class="op">/</span> <span class="dv">1019016</span>) <span class="op">*</span> <span class="dv">1000</span></span>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>proportion_followers <span class="op">=</span> (<span class="bu">len</span>(df_attacks) <span class="op">/</span> <span class="dv">1000000</span>) <span class="op">*</span> <span class="dv">1000</span></span>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a>formatted_proportion <span class="op">=</span> <span class="st">&quot;</span><span class="sc">{:.2f}</span><span class="st">&quot;</span>.<span class="bu">format</span>(proportion_followers)</span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(<span class="ss">f&quot;Por cada 1K seguidores, hubo </span><span class="sc">{</span>formatted_proportion<span class="sc">}</span><span class="ss"> ataques para </span><span class="sc">{</span>USERNAME<span class="sc">}</span><span class="ss">&quot;</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(</span>
<span id="cb5-4"><a href="#cb5-4" aria-hidden="true" tabindex="-1"></a> <span class="ss">f&quot;Por cada 1K seguidores, aproximadamente hubo </span><span class="sc">{</span>formatted_proportion<span class="sc">}</span><span class="ss"> ataques para </span><span class="sc">{</span>USERNAME<span class="sc">}</span><span class="ss">&quot;</span></span>
<span id="cb5-5"><a href="#cb5-5" aria-hidden="true" tabindex="-1"></a>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
<div class="cell-output cell-output-stdout">
<pre><code>Por cada 1K seguidores, hubo 0.15 ataques para @luisnovaresio</code></pre>
Expand Down
12 changes: 6 additions & 6 deletions docs/pages/2.@Cris_noticias.html
Original file line number Diff line number Diff line change
Expand Up @@ -4672,7 +4672,7 @@ <h1 class="title">Análisis de tweets atacando a <span class="citation" data-cit

<section id="datos" class="level3">
<h3 class="anchored" data-anchor-id="datos">Datos</h3>
<div class="cell" data-execution_count="4">
<div class="cell" data-execution_count="3">
<details>
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>df_attacks <span class="op">=</span> attacks.loc[attacks[<span class="st">&quot;to_journalist&quot;</span>].isin([USERNAME])]</span>
Expand All @@ -4686,7 +4686,7 @@ <h3 class="anchored" data-anchor-id="datos">Datos</h3>
<section id="frecuencia-de-ataques" class="level3">
<h3 class="anchored" data-anchor-id="frecuencia-de-ataques">Frecuencia de ataques</h3>
<p>Proporción de ataques = (Número de ataques / Número de menciones) * 100</p>
<div class="cell" data-execution_count="5">
<div class="cell" data-execution_count="4">
<details>
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a>journalist_mentions <span class="op">=</span> <span class="bu">len</span>(df.loc[df[<span class="st">&quot;to_journalist&quot;</span>].isin([USERNAME])])</span>
Expand All @@ -4710,15 +4710,15 @@ <h3 class="anchored" data-anchor-id="frecuencia-de-ataques">Frecuencia de ataque
<section id="frecuencia-de-los-ataques-en-función-del-número-de-seguidores" class="level3">
<h3 class="anchored" data-anchor-id="frecuencia-de-los-ataques-en-función-del-número-de-seguidores">Frecuencia de los ataques en función del número de seguidores</h3>
<p>Proporción de ataques por seguidor = Número de ataques / Número de seguidores</p>
<div class="cell" data-execution_count="7">
<div class="cell" data-execution_count="5">
<details>
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>proportion_followers <span class="op">=</span> (<span class="bu">len</span>(df_attacks) <span class="op">/</span> <span class="dv">979948</span>) <span class="op">*</span> <span class="dv">1000</span></span>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>proportion_followers <span class="op">=</span> (<span class="bu">len</span>(df_attacks) <span class="op">/</span> <span class="dv">973000</span>) <span class="op">*</span> <span class="dv">1000</span></span>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a>formatted_proportion <span class="op">=</span> <span class="st">&quot;</span><span class="sc">{:.2f}</span><span class="st">&quot;</span>.<span class="bu">format</span>(proportion_followers)</span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(<span class="ss">f&quot;Por cada 1K seguidores, hubo </span><span class="sc">{</span>formatted_proportion<span class="sc">}</span><span class="ss"> ataques para </span><span class="sc">{</span>USERNAME<span class="sc">}</span><span class="ss">&quot;</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(<span class="ss">f&quot;Por cada 1K seguidores, aproximadamente hubo </span><span class="sc">{</span>formatted_proportion<span class="sc">}</span><span class="ss"> ataques para </span><span class="sc">{</span>USERNAME<span class="sc">}</span><span class="ss">&quot;</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
<div class="cell-output cell-output-stdout">
<pre><code>Por cada 1K seguidores, hubo 0.44 ataques para @Cris_noticias</code></pre>
<pre><code>Por cada 1K seguidores, aproximadamente hubo 0.44 ataques para @Cris_noticias</code></pre>
</div>
</div>
</section>
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/3.@JonatanViale.html
Original file line number Diff line number Diff line change
Expand Up @@ -4713,12 +4713,12 @@ <h3 class="anchored" data-anchor-id="frecuencia-de-los-ataques-en-función-del-n
<div class="cell" data-execution_count="5">
<details>
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>proportion_followers <span class="op">=</span> (<span class="bu">len</span>(df_attacks) <span class="op">/</span> <span class="dv">1096113</span>) <span class="op">*</span> <span class="dv">1000</span></span>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>proportion_followers <span class="op">=</span> (<span class="bu">len</span>(df_attacks) <span class="op">/</span> <span class="dv">972000</span>) <span class="op">*</span> <span class="dv">1000</span></span>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a>formatted_proportion <span class="op">=</span> <span class="st">&quot;</span><span class="sc">{:.2f}</span><span class="st">&quot;</span>.<span class="bu">format</span>(proportion_followers)</span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(<span class="ss">f&quot;Por cada 1K seguidores, hubo </span><span class="sc">{</span>formatted_proportion<span class="sc">}</span><span class="ss"> ataques para </span><span class="sc">{</span>USERNAME<span class="sc">}</span><span class="ss">&quot;</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(<span class="ss">f&quot;Por cada 1K seguidores, aproximadamente hubo </span><span class="sc">{</span>formatted_proportion<span class="sc">}</span><span class="ss"> ataques para </span><span class="sc">{</span>USERNAME<span class="sc">}</span><span class="ss">&quot;</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
<div class="cell-output cell-output-stdout">
<pre><code>Por cada 1K seguidores, hubo 0.38 ataques para @JonatanViale</code></pre>
<pre><code>Por cada 1K seguidores, aproximadamente hubo 0.43 ataques para @JonatanViale</code></pre>
</div>
</div>
</section>
Expand Down
Loading

0 comments on commit 58f4d9b

Please sign in to comment.