Skip to content

Commit

Permalink
update programa y planificacion
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-carrasco committed Mar 28, 2024
1 parent cec0fa6 commit 0ec8461
Show file tree
Hide file tree
Showing 58 changed files with 5,829 additions and 3,117 deletions.
69 changes: 32 additions & 37 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ csl: files/bib/chicago-author-date.csl

website:
title: "Estadística Descriptiva"
site-url: "https://descriptiva-facso.netlify.app"
site-url: "https://descriptiva-2024.netlify.app"
#description: "Diseño, análisis, reporte y visualización de encuestas sociales"
favicon: "/files/logo-removebg-preview.png"

twitter-card:
image: "/files/logo.png"
card-style: summary_large_image
creator: "@andreaslaffert"
site: "@andreaslaffert"
creator: "@kevincarrascoq1"
site: "@kevincarrascoq1"

open-graph:
image: "/files/logo.png"
Expand Down Expand Up @@ -66,22 +66,20 @@ website:
- class/index.qmd
- section: "Sesiones"
contents:
- text: "1: Presentación al curso"
file: class/01-class.qmd
- text: "2: Caracterización de la investigación cuantitativa"
file: class/02-class.qmd
- text: "3: Medición y operacionalización"
file: class/03-class.qmd
- text: "4: Manejo de bases de datos"
file: class/04-class.qmd
- text: "5: Descripción de los datos"
file: class/05-class.qmd
- text: "6: Función y distribución de variables"
file: class/06-class.qmd
- text: "7: Introducción a la inferencia estadística"
file: class/07-class.qmd


# - text: "1: Presentación al curso"
# file: class/01-class.qmd
# - text: "2: Caracterización de la investigación cuantitativa"
# file: class/02-class.qmd
# - text: "3: Medición y operacionalización"
# file: class/03-class.qmd
# - text: "4: Manejo de bases de datos"
# file: class/04-class.qmd
# - text: "5: Descripción de los datos"
# file: class/05-class.qmd
# - text: "6: Función y distribución de variables"
# file: class/06-class.qmd
# - text: "7: Introducción a la inferencia estadística"
# file: class/07-class.qmd

- title: "Practicos"
style: "docked"
Expand All @@ -95,20 +93,20 @@ website:
contents:
- text: "1: Introducción al lenguaje R"
file: assignment/01-practico.qmd
- text: "2: Conocimientos básicos de programación en R"
file: assignment/02-practico.qmd
- text: "3: Procesamiento, limpieza y manipulación de datos en R"
file: assignment/03-practico.qmd
- text: "4: Análisis descriptivo de datos en R"
file: assignment/04-practico.qmd
- text: "5: Procesamiento y análisis de datos en R"
file: assignment/05-practico.qmd
- text: "6: Visualización de datos con R"
file: assignment/06-practico.qmd
- text: "7: Forma de una distribución"
file: assignment/07-practico.qmd
- text: "8: Inferencia estadística univariada"
file: assignment/08-practico.qmd
# - text: "2: Conocimientos básicos de programación en R"
# file: assignment/02-practico.qmd
# - text: "3: Procesamiento, limpieza y manipulación de datos en R"
# file: assignment/03-practico.qmd
# - text: "4: Análisis descriptivo de datos en R"
# file: assignment/04-practico.qmd
# - text: "5: Procesamiento y análisis de datos en R"
# file: assignment/05-practico.qmd
# - text: "6: Visualización de datos con R"
# file: assignment/06-practico.qmd
# - text: "7: Forma de una distribución"
# file: assignment/07-practico.qmd
# - text: "8: Inferencia estadística univariada"
# file: assignment/08-practico.qmd

- title: "Recursos"
style: "docked"
Expand All @@ -127,12 +125,9 @@ website:
file: resource/04-resource.qmd





page-footer:
left: |
Content {{< fa brands creative-commons >}} {{< var course.copyright_year >}} by Andreas Laffert <br>
Content {{< fa brands creative-commons >}} {{< var course.copyright_year >}} by Kevin Carrasco & Daniela Olivares <br>
All content licensed under a {{< fa brands creative-commons >}}
{{< fa brands creative-commons-by >}} {{< fa brands creative-commons-nc >}}
[Creative Commons Attribution-NonCommercial 4.0 International license (CC BY-NC 4.0)](https://creativecommons.org/licenses/by-nc/4.0/)
Expand Down
6 changes: 3 additions & 3 deletions _variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ instructor:
A través de correo o U-Cursos
other:
email: andreas.laffert@ug.uchile.cl
appointment_url: https://calendly.com/andreas-laffert
email: kevin.carrasco@ug.uchile.cl
appointment_url: [email protected]

other2:
email: [email protected]
appointment_url: https://calendly.com/juancastillov/horas-oficina
appointment_url: danielaolivarescollio@gmail.com

course:
number: "SOC01014-1"
Expand Down
Binary file modified assignment/Output/datos_proc.Rdata
Binary file not shown.
Binary file modified assignment/Output/proc_cep.RData
Binary file not shown.
146 changes: 126 additions & 20 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.2.335">
<meta name="generator" content="quarto-1.3.450">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand All @@ -17,7 +17,7 @@
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */
vertical-align: middle;
}
</style>
Expand Down Expand Up @@ -57,23 +57,24 @@
"search-more-matches-text": "more matches in this document",
"search-clear-button-title": "Clear",
"search-detached-cancel-button-title": "Cancel",
"search-submit-button-title": "Submit"
"search-submit-button-title": "Submit",
"search-label": "Search"
}
}</script>


<meta property="og:title" content="Estadística Descriptiva - Page Not Found">
<meta property="og:description" content="OH NO! The page you were looking for isn’t here!">
<meta property="og:image" content="https://descriptiva-facso.netlify.app/files/logo.png">
<meta property="og:description" content="">
<meta property="og:image" content="https://descriptiva-2024.netlify.app/files/logo.png">
<meta property="og:site-name" content="Estadística Descriptiva">
<meta property="og:locale" content="en_US">
<meta property="og:image:height" content="500">
<meta property="og:image:width" content="500">
<meta name="twitter:title" content="Estadística Descriptiva - Page Not Found">
<meta name="twitter:description" content="OH NO! The page you were looking for isn’t here!">
<meta name="twitter:image" content="https://descriptiva-facso.netlify.app/files/logo.png">
<meta name="twitter:creator" content="@andreaslaffert">
<meta name="twitter:site" content="@andreaslaffert">
<meta name="twitter:description" content="">
<meta name="twitter:image" content="https://descriptiva-2024.netlify.app/files/logo.png">
<meta name="twitter:creator" content="@kevincarrascoq1">
<meta name="twitter:site" content="@kevincarrascoq1">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image-height" content="500">
<meta name="twitter:image-width" content="500">
Expand All @@ -90,42 +91,44 @@
<span class="navbar-title">Estadística Descriptiva</span>
</a>
</div>
<div id="quarto-search" class="" title="Search"></div>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav navbar-nav-scroll ms-auto">
<li class="nav-item">
<a class="nav-link" href="/syllabus.html">
<a class="nav-link" href="/syllabus.html" rel="" target="">
<span class="menu-text">Programa</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/schedule.html">
<a class="nav-link" href="/schedule.html" rel="" target="">
<span class="menu-text">Planificación</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/class/index.html">
<a class="nav-link" href="/class/index.html" rel="" target="">
<span class="menu-text">Clases</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/assignment/index.html">
<a class="nav-link" href="/assignment/index.html" rel="" target="">
<span class="menu-text">Prácticos</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/trabajos.html">
<a class="nav-link" href="/trabajos.html" rel="" target="">
<span class="menu-text">Trabajos</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/resource/index.html">
<a class="nav-link" href="/resource/index.html" rel="" target="">
<span class="menu-text">Recursos</span></a>
</li>
<li class="nav-item compact">
<a class="nav-link" href="https://rstudio.cloud"><i class="bi bi-cloud-fill" role="img" aria-label="RStudio.cloud">
<a class="nav-link" href="https://rstudio.cloud" rel="" target=""><i class="bi bi-cloud-fill" role="img" aria-label="RStudio.cloud">
</i>
<span class="menu-text"></span></a>
</li>
</ul>
<div id="quarto-search" class="" title="Search"></div>
<div class="quarto-navbar-tools">
</div>
</div> <!-- /navcollapse -->
</div> <!-- /container-fluid -->
</nav>
Expand Down Expand Up @@ -199,9 +202,23 @@ <h1 class="title">Page Not Found</h1>
icon: icon
};
anchorJS.add('.anchored');
const isCodeAnnotation = (el) => {
for (const clz of el.classList) {
if (clz.startsWith('code-annotation-')) {
return true;
}
}
return false;
}
const clipboard = new window.ClipboardJS('.code-copy-button', {
target: function(trigger) {
return trigger.previousElementSibling;
text: function(trigger) {
const codeEl = trigger.previousElementSibling.cloneNode(true);
for (const childEl of codeEl.children) {
if (isCodeAnnotation(childEl)) {
childEl.remove();
}
}
return codeEl.innerText;
}
});
clipboard.on('success', function(e) {
Expand Down Expand Up @@ -266,6 +283,92 @@ <h1 class="title">Page Not Found</h1>
return note.innerHTML;
});
}
let selectedAnnoteEl;
const selectorForAnnotation = ( cell, annotation) => {
let cellAttr = 'data-code-cell="' + cell + '"';
let lineAttr = 'data-code-annotation="' + annotation + '"';
const selector = 'span[' + cellAttr + '][' + lineAttr + ']';
return selector;
}
const selectCodeLines = (annoteEl) => {
const doc = window.document;
const targetCell = annoteEl.getAttribute("data-target-cell");
const targetAnnotation = annoteEl.getAttribute("data-target-annotation");
const annoteSpan = window.document.querySelector(selectorForAnnotation(targetCell, targetAnnotation));
const lines = annoteSpan.getAttribute("data-code-lines").split(",");
const lineIds = lines.map((line) => {
return targetCell + "-" + line;
})
let top = null;
let height = null;
let parent = null;
if (lineIds.length > 0) {
//compute the position of the single el (top and bottom and make a div)
const el = window.document.getElementById(lineIds[0]);
top = el.offsetTop;
height = el.offsetHeight;
parent = el.parentElement.parentElement;
if (lineIds.length > 1) {
const lastEl = window.document.getElementById(lineIds[lineIds.length - 1]);
const bottom = lastEl.offsetTop + lastEl.offsetHeight;
height = bottom - top;
}
if (top !== null && height !== null && parent !== null) {
// cook up a div (if necessary) and position it
let div = window.document.getElementById("code-annotation-line-highlight");
if (div === null) {
div = window.document.createElement("div");
div.setAttribute("id", "code-annotation-line-highlight");
div.style.position = 'absolute';
parent.appendChild(div);
}
div.style.top = top - 2 + "px";
div.style.height = height + 4 + "px";
let gutterDiv = window.document.getElementById("code-annotation-line-highlight-gutter");
if (gutterDiv === null) {
gutterDiv = window.document.createElement("div");
gutterDiv.setAttribute("id", "code-annotation-line-highlight-gutter");
gutterDiv.style.position = 'absolute';
const codeCell = window.document.getElementById(targetCell);
const gutter = codeCell.querySelector('.code-annotation-gutter');
gutter.appendChild(gutterDiv);
}
gutterDiv.style.top = top - 2 + "px";
gutterDiv.style.height = height + 4 + "px";
}
selectedAnnoteEl = annoteEl;
}
};
const unselectCodeLines = () => {
const elementsIds = ["code-annotation-line-highlight", "code-annotation-line-highlight-gutter"];
elementsIds.forEach((elId) => {
const div = window.document.getElementById(elId);
if (div) {
div.remove();
}
});
selectedAnnoteEl = undefined;
};
// Attach click handler to the DT
const annoteDls = window.document.querySelectorAll('dt[data-target-cell]');
for (const annoteDlNode of annoteDls) {
annoteDlNode.addEventListener('click', (event) => {
const clickedEl = event.target;
if (clickedEl !== selectedAnnoteEl) {
unselectCodeLines();
const activeEl = window.document.querySelector('dt[data-target-cell].code-annotation-active');
if (activeEl) {
activeEl.classList.remove('code-annotation-active');
}
selectCodeLines(clickedEl);
clickedEl.classList.add('code-annotation-active');
} else {
// Unselect the line
unselectCodeLines();
clickedEl.classList.remove('code-annotation-active');
}
});
}
const findCites = (el) => {
const parentEl = el.parentElement;
if (parentEl) {
Expand Down Expand Up @@ -308,7 +411,10 @@ <h1 class="title">Page Not Found</h1>
</div> <!-- /content -->
<footer class="footer">
<div class="nav-footer">
<div class="nav-footer-left">Content <i class="fa-brands fa-creative-commons" aria-hidden="true"></i> 2024 by Andreas Laffert <br> All content licensed under a <i class="fa-brands fa-creative-commons" aria-hidden="true"></i> <i class="fa-brands fa-creative-commons-by" aria-hidden="true"></i> <i class="fa-brands fa-creative-commons-nc" aria-hidden="true"></i> <a href="https://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International license (CC BY-NC 4.0)</a></div>
<div class="nav-footer-left">Content <i class="fa-brands fa-creative-commons" aria-hidden="true"></i> 2024 by Kevin Carrasco &amp; Daniela Olivares <br> All content licensed under a <i class="fa-brands fa-creative-commons" aria-hidden="true"></i> <i class="fa-brands fa-creative-commons-by" aria-hidden="true"></i> <i class="fa-brands fa-creative-commons-nc" aria-hidden="true"></i> <a href="https://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International license (CC BY-NC 4.0)</a></div>
<div class="nav-footer-center">
&nbsp;
</div>
<div class="nav-footer-right">Made with <i class="fa-brands fa-r-project" aria-hidden="true"></i> and <a href="https://quarto.org/">Quarto</a><br> <a href="https://github.com/cursos-metodos-facso/descriptiva">View the source at <i class="fa-brands fa-github" aria-hidden="true"></i> GitHub</a></div>
</div>
</footer>
Expand Down
Loading

0 comments on commit 0ec8461

Please sign in to comment.