Skip to content

Commit

Permalink
edit gha
Browse files Browse the repository at this point in the history
  • Loading branch information
Cidree committed May 29, 2024
1 parent b40a590 commit b490bfd
Show file tree
Hide file tree
Showing 20 changed files with 35 additions and 8,040 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
.RData
.Ruserdata

/.quarto/
/.quarto/
/_site/
2 changes: 2 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ format:
code-block-border-left: true
linkcolor: '#ff0000'
fontsize: 100%
mainfont: "Inter"
monofont: "Fira Code"
highlight-style: nord
editor: visual

9 changes: 1 addition & 8 deletions _site/02_courses/01_data_analysis_es.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
<link href="../site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<script src="../site_libs/bootstrap/bootstrap.min.js"></script>
<link href="../site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="../site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
<link href="../site_libs/quarto-contrib/fontawesome6-0.1.0/all.css" rel="stylesheet">
<link href="../site_libs/quarto-contrib/fontawesome6-0.1.0/latex-fontsize.css" rel="stylesheet"><script id="quarto-search-options" type="application/json">{
<link href="../site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light"><script id="quarto-search-options" type="application/json">{
"language": {
"search-no-results-text": "No results",
"search-matching-documents-text": "matching documents",
Expand Down Expand Up @@ -183,11 +181,6 @@ <h1 class="title">Introducción a Análisis y Visualización de Datos en R [2023
<p>Este curso está indicado para personas de nivel principiante e intermedio, y para aquellos usuarios que quieran aprender a utilizar R con las herramientas más actuales.</p>
<p>En este curso aprenderéis a utilizar el lenguaje de programación R utilizando datos reales. Esto es algo crucial, ya que el uso de datos reales os ayudará a ver como vamos afrontando los problemas que van apareciendo a lo largo del ciclo del análisis de datos.</p>
<p>En este curso aprenderéis a programar en R programando. En los más de 100 vídeos de este curso, apenas 10 vídeos serán clases teóricas para explicar ciertos conceptos que lo merecen, mientras que el resto serán vídeos de código. Aprenderéis técnicas que se utilizan en 2023, con las últimas actualizaciones de los paquetes utilizados.</p>
<p><i class="fa-solid fa-star" aria-label="star"></i></p>
<p><i class="fa-solid fa-star" aria-label="star"></i></p>
<p><i class="fa-solid fa-star" aria-label="star"></i></p>
<p><i class="fa-solid fa-star" aria-label="star"></i></p>
<p><i class="fa-solid fa-star" aria-label="star"></i></p>
</div>
</div>
<div class="course-description">
Expand Down
10 changes: 5 additions & 5 deletions _site/posts/001_population_spain_map/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ <h1 id="choropleth-maps-with-ggplot2" data-number="2">
<div class="cell-output-display">
<div id="fig-world" class="quarto-figure quarto-figure-center quarto-float anchored">
<figure class="quarto-float quarto-float-fig figure"><div aria-describedby="fig-world-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="index_files/figure-html/fig-world-1.png" class="lightbox" data-gallery="quarto-lightbox-gallery-1" data-glightbox="description: .lightbox-desc-1"><img src="index_files/figure-html/fig-world-1.png" class="img-fluid figure-img" width="672"></a>
<a href="index_files/figure-html/fig-world-1.png" class="lightbox" data-glightbox="description: .lightbox-desc-1" data-gallery="quarto-lightbox-gallery-1"><img src="index_files/figure-html/fig-world-1.png" class="img-fluid figure-img" width="672"></a>
</div>
<figcaption class="quarto-float-caption-bottom quarto-float-caption quarto-float-fig" id="fig-world-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;1: World map
Expand Down Expand Up @@ -410,7 +410,7 @@ <h1 id="choropleth-maps-with-ggplot2" data-number="2">
<div class="cell-output-display">
<div id="fig-population" class="quarto-figure quarto-figure-center quarto-float anchored">
<figure class="quarto-float quarto-float-fig figure"><div aria-describedby="fig-population-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="index_files/figure-html/fig-population-1.png" class="lightbox" data-gallery="quarto-lightbox-gallery-2" data-glightbox="description: .lightbox-desc-2"><img src="index_files/figure-html/fig-population-1.png" class="img-fluid figure-img" width="768"></a>
<a href="index_files/figure-html/fig-population-1.png" class="lightbox" data-glightbox="description: .lightbox-desc-2" data-gallery="quarto-lightbox-gallery-2"><img src="index_files/figure-html/fig-population-1.png" class="img-fluid figure-img" width="768"></a>
</div>
<figcaption class="quarto-float-caption-bottom quarto-float-caption quarto-float-fig" id="fig-population-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;2: Population in Spain by Municipality (2019)
Expand Down Expand Up @@ -439,7 +439,7 @@ <h1 id="choropleth-maps-with-ggplot2" data-number="2">
<div class="cell-output-display">
<div id="fig-boxpl2" class="quarto-figure quarto-figure-center quarto-float anchored">
<figure class="quarto-float quarto-float-fig figure"><div aria-describedby="fig-boxpl2-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="index_files/figure-html/fig-boxpl2-1.png" class="lightbox" data-gallery="quarto-lightbox-gallery-3" data-glightbox="description: .lightbox-desc-3"><img src="index_files/figure-html/fig-boxpl2-1.png" class="img-fluid figure-img" width="672"></a>
<a href="index_files/figure-html/fig-boxpl2-1.png" class="lightbox" data-glightbox="description: .lightbox-desc-3" data-gallery="quarto-lightbox-gallery-3"><img src="index_files/figure-html/fig-boxpl2-1.png" class="img-fluid figure-img" width="672"></a>
</div>
<figcaption class="quarto-float-caption-bottom quarto-float-caption quarto-float-fig" id="fig-boxpl2-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;3: Distribution of Men/Women ratio by municipallity
Expand Down Expand Up @@ -501,7 +501,7 @@ <h1 id="choropleth-maps-with-ggplot2" data-number="2">
<div class="cell-output-display">
<div id="fig-sex-ratio" class="quarto-figure quarto-figure-center quarto-float anchored">
<figure class="quarto-float quarto-float-fig figure"><div aria-describedby="fig-sex-ratio-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="index_files/figure-html/fig-sex-ratio-1.png" class="lightbox" data-gallery="quarto-lightbox-gallery-4" data-glightbox="description: .lightbox-desc-4"><img src="index_files/figure-html/fig-sex-ratio-1.png" class="img-fluid figure-img" width="672"></a>
<a href="index_files/figure-html/fig-sex-ratio-1.png" class="lightbox" data-glightbox="description: .lightbox-desc-4" data-gallery="quarto-lightbox-gallery-4"><img src="index_files/figure-html/fig-sex-ratio-1.png" class="img-fluid figure-img" width="672"></a>
</div>
<figcaption class="quarto-float-caption-bottom quarto-float-caption quarto-float-fig" id="fig-sex-ratio-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;4: Sex ratio in Spain by Municipality in 2019 (ratio men/women)
Expand Down Expand Up @@ -940,7 +940,7 @@ <h1 id="choropleth-maps-with-ggplot2" data-number="2">
<p><a href="https://github.com/Cidree/blog">Github Code Repo</a></p>
</div>
</div>
</footer><script>var lightboxQuarto = GLightbox({"loop":false,"selector":".lightbox","descPosition":"bottom","openEffect":"zoom","closeEffect":"zoom"});
</footer><script>var lightboxQuarto = GLightbox({"loop":false,"selector":".lightbox","openEffect":"zoom","closeEffect":"zoom","descPosition":"bottom"});
window.onload = () => {
lightboxQuarto.on('slide_before_load', (data) => {
const { slideIndex, slideNode, slideConfig, player, trigger } = data;
Expand Down
2 changes: 1 addition & 1 deletion _site/posts/002_rpostgis_back/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ <h1 id="rpostgis-package" data-number="2">
<p><a href="https://github.com/Cidree/blog">Github Code Repo</a></p>
</div>
</div>
</footer><script>var lightboxQuarto = GLightbox({"selector":".lightbox","closeEffect":"zoom","loop":false,"descPosition":"bottom","openEffect":"zoom"});
</footer><script>var lightboxQuarto = GLightbox({"descPosition":"bottom","loop":false,"openEffect":"zoom","closeEffect":"zoom","selector":".lightbox"});
window.onload = () => {
lightboxQuarto.on('slide_before_load', (data) => {
const { slideIndex, slideNode, slideConfig, player, trigger } = data;
Expand Down
2 changes: 1 addition & 1 deletion _site/posts/003_wildfires_ccaa_spain/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ <h1 id="spanish-wildfires-by-autonomous-communities" data-number="2">
<p><a href="https://github.com/Cidree/blog">Github Code Repo</a></p>
</div>
</div>
</footer><script>var lightboxQuarto = GLightbox({"loop":false,"descPosition":"bottom","closeEffect":"zoom","selector":".lightbox","openEffect":"zoom"});
</footer><script>var lightboxQuarto = GLightbox({"loop":false,"descPosition":"bottom","selector":".lightbox","openEffect":"zoom","closeEffect":"zoom"});
window.onload = () => {
lightboxQuarto.on('slide_before_load', (data) => {
const { slideIndex, slideNode, slideConfig, player, trigger } = data;
Expand Down
8 changes: 4 additions & 4 deletions _site/posts/004_burned_area_muni_spain/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ <h1 class="title">Spanish Burned Area during 2006-2015 by Municipality</h1>
<div class="cell-output-display">
<div id="fig-vis2d" class="quarto-figure quarto-figure-center quarto-float anchored">
<figure class="quarto-float quarto-float-fig figure"><div aria-describedby="fig-vis2d-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="index_files/figure-html/fig-vis2d-1.png" class="lightbox" data-glightbox="description: .lightbox-desc-1" data-gallery="quarto-lightbox-gallery-1"><img src="index_files/figure-html/fig-vis2d-1.png" class="img-fluid figure-img" width="576"></a>
<a href="index_files/figure-html/fig-vis2d-1.png" class="lightbox" data-gallery="quarto-lightbox-gallery-1" data-glightbox="description: .lightbox-desc-1"><img src="index_files/figure-html/fig-vis2d-1.png" class="img-fluid figure-img" width="576"></a>
</div>
<figcaption class="quarto-float-caption-bottom quarto-float-caption quarto-float-fig" id="fig-vis2d-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;1: Distribution of total burned area in Spain by Municipality during the period 2006-2015
Expand All @@ -416,7 +416,7 @@ <h1 class="title">Spanish Burned Area during 2006-2015 by Municipality</h1>
</ul>
<div id="fig-angles" class="quarto-figure quarto-figure-center quarto-float anchored" data-fig-align="center">
<figure class="quarto-float quarto-float-fig figure"><div aria-describedby="fig-angles-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="angles.png" class="lightbox" data-glightbox="description: .lightbox-desc-2" data-gallery="quarto-lightbox-gallery-2"><img src="angles.png" class="img-fluid quarto-figure quarto-figure-center figure-img"></a>
<a href="angles.png" class="lightbox" data-gallery="quarto-lightbox-gallery-2" data-glightbox="description: .lightbox-desc-2"><img src="angles.png" class="img-fluid quarto-figure quarto-figure-center figure-img"></a>
</div>
<figcaption class="quarto-float-caption-bottom quarto-float-caption quarto-float-fig" id="fig-angles-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;2: Phi and theta angles
Expand Down Expand Up @@ -446,7 +446,7 @@ <h1 class="title">Spanish Burned Area during 2006-2015 by Municipality</h1>
<p>The result can be seen in <a href="#fig-vis3d" class="quarto-xref">Figure&nbsp;3</a>. As we saw in my <a href="https://adrian-cidre.com/posts/003_wildfires_ccaa_spain/">previous post</a>, the area that is most affected by the wildfires is by far the northwestern area of Spain, both in number of fires and burned hectares.</p>
<div id="fig-vis3d" class="quarto-figure quarto-figure-center quarto-float anchored" data-fig-align="center">
<figure class="quarto-float quarto-float-fig figure"><div aria-describedby="fig-vis3d-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="wildfires_ha_muni.png" class="lightbox" data-glightbox="description: .lightbox-desc-3" data-gallery="quarto-lightbox-gallery-3"><img src="wildfires_ha_muni.png" class="img-fluid quarto-figure quarto-figure-center figure-img"></a>
<a href="wildfires_ha_muni.png" class="lightbox" data-gallery="quarto-lightbox-gallery-3" data-glightbox="description: .lightbox-desc-3"><img src="wildfires_ha_muni.png" class="img-fluid quarto-figure quarto-figure-center figure-img"></a>
</div>
<figcaption class="quarto-float-caption-bottom quarto-float-caption quarto-float-fig" id="fig-vis3d-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;3: Burned area in Spain during 2006-2016 by municipality. The tallest spikes represent higher burned area.
Expand Down Expand Up @@ -881,7 +881,7 @@ <h1 class="title">Spanish Burned Area during 2006-2015 by Municipality</h1>
<p><a href="https://github.com/Cidree/blog">Github Code Repo</a></p>
</div>
</div>
</footer><script>var lightboxQuarto = GLightbox({"descPosition":"bottom","closeEffect":"zoom","openEffect":"zoom","selector":".lightbox","loop":false});
</footer><script>var lightboxQuarto = GLightbox({"descPosition":"bottom","selector":".lightbox","openEffect":"zoom","loop":false,"closeEffect":"zoom"});
window.onload = () => {
lightboxQuarto.on('slide_before_load', (data) => {
const { slideIndex, slideNode, slideConfig, player, trigger } = data;
Expand Down
10 changes: 5 additions & 5 deletions _site/posts/005_population_spikes_norway/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ <h1 class="title">3D Population Spikes Map - Norway</h1>
<p>The result appear in a RGL device and looks like <a href="#fig-pop-plot" class="quarto-xref">Figure&nbsp;1</a>. Nothing amazing so far. This is just an interactive device where we can explore our plot.</p>
<div id="fig-pop-plot" class="quarto-figure quarto-figure-center quarto-float anchored" data-fig-align="center">
<figure class="quarto-float quarto-float-fig figure"><div aria-describedby="fig-pop-plot-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="figs/01_render.png" class="lightbox" data-glightbox="description: .lightbox-desc-2" data-gallery="quarto-lightbox-gallery-2"><img src="figs/01_render.png" class="img-fluid quarto-figure quarto-figure-center figure-img"></a>
<a href="figs/01_render.png" class="lightbox" data-gallery="quarto-lightbox-gallery-2" data-glightbox="description: .lightbox-desc-2"><img src="figs/01_render.png" class="img-fluid quarto-figure quarto-figure-center figure-img"></a>
</div>
<figcaption class="quarto-float-caption-bottom quarto-float-caption quarto-float-fig" id="fig-pop-plot-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;1: Result of plot_3d
Expand All @@ -440,7 +440,7 @@ <h1 class="title">3D Population Spikes Map - Norway</h1>
<p>After playing for a while with the values I decided to keep these values as my final choice, which correspond to the <a href="#fig-pop-camera" class="quarto-xref">Figure&nbsp;2</a>.</p>
<div id="fig-pop-camera" class="quarto-figure quarto-figure-center quarto-float anchored" data-fig-align="center">
<figure class="quarto-float quarto-float-fig figure"><div aria-describedby="fig-pop-camera-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="figs/02_render.png" class="lightbox" data-glightbox="description: .lightbox-desc-3" data-gallery="quarto-lightbox-gallery-3"><img src="figs/02_render.png" class="img-fluid quarto-figure quarto-figure-center figure-img"></a>
<a href="figs/02_render.png" class="lightbox" data-gallery="quarto-lightbox-gallery-3" data-glightbox="description: .lightbox-desc-3"><img src="figs/02_render.png" class="img-fluid quarto-figure quarto-figure-center figure-img"></a>
</div>
<figcaption class="quarto-float-caption-bottom quarto-float-caption quarto-float-fig" id="fig-pop-camera-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;2: Result of render_camera
Expand Down Expand Up @@ -489,7 +489,7 @@ <h1 class="title">3D Population Spikes Map - Norway</h1>
<p>The resulting image (using a size of 6,000 and zscale of 20) is shown in <a href="#fig-spikes-map" class="quarto-xref">Figure&nbsp;3</a>.</p>
<div id="fig-spikes-map" class="quarto-figure quarto-figure-center quarto-float anchored" data-fig-align="center">
<figure class="quarto-float quarto-float-fig figure"><div aria-describedby="fig-spikes-map-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="figs/norway_crop.png" class="lightbox" data-glightbox="description: .lightbox-desc-4" data-gallery="quarto-lightbox-gallery-4"><img src="figs/norway_crop.png" class="img-fluid quarto-figure quarto-figure-center figure-img"></a>
<a href="figs/norway_crop.png" class="lightbox" data-gallery="quarto-lightbox-gallery-4" data-glightbox="description: .lightbox-desc-4"><img src="figs/norway_crop.png" class="img-fluid quarto-figure quarto-figure-center figure-img"></a>
</div>
<figcaption class="quarto-float-caption-bottom quarto-float-caption quarto-float-fig" id="fig-spikes-map-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;3: Spikes population map of Norway
Expand All @@ -498,7 +498,7 @@ <h1 class="title">3D Population Spikes Map - Norway</h1>
<p>We can see that most of the population of Norway in the half south of the country, specially in Viken region. We can also add some labels to the map, so we get the final result in <a href="#fig-spikes-map-labelled" class="quarto-xref">Figure&nbsp;4</a>.</p>
<div id="fig-spikes-map-labelled" class="quarto-figure quarto-figure-center quarto-float anchored" data-fig-align="center">
<figure class="quarto-float quarto-float-fig figure"><div aria-describedby="fig-spikes-map-labelled-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="figs/norway_complete.png" class="lightbox" data-glightbox="description: .lightbox-desc-5" data-gallery="quarto-lightbox-gallery-5"><img src="figs/norway_complete.png" class="img-fluid quarto-figure quarto-figure-center figure-img"></a>
<a href="figs/norway_complete.png" class="lightbox" data-gallery="quarto-lightbox-gallery-5" data-glightbox="description: .lightbox-desc-5"><img src="figs/norway_complete.png" class="img-fluid quarto-figure quarto-figure-center figure-img"></a>
</div>
<figcaption class="quarto-float-caption-bottom quarto-float-caption quarto-float-fig" id="fig-spikes-map-labelled-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;4: Population spikes map of Norway with labels of some important cities
Expand Down Expand Up @@ -934,7 +934,7 @@ <h1 class="title">3D Population Spikes Map - Norway</h1>
<p><a href="https://github.com/Cidree/blog">Github Code Repo</a></p>
</div>
</div>
</footer><script>var lightboxQuarto = GLightbox({"selector":".lightbox","openEffect":"zoom","closeEffect":"zoom","loop":false,"descPosition":"bottom"});
</footer><script>var lightboxQuarto = GLightbox({"openEffect":"zoom","descPosition":"bottom","loop":false,"selector":".lightbox","closeEffect":"zoom"});
window.onload = () => {
lightboxQuarto.on('slide_before_load', (data) => {
const { slideIndex, slideNode, slideConfig, player, trigger } = data;
Expand Down
Loading

0 comments on commit b490bfd

Please sign in to comment.