Skip to content

Commit

Permalink
Fix module 8 sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bergam0t committed Nov 19, 2024
1 parent d9eddd2 commit 720a4d6
Show file tree
Hide file tree
Showing 11 changed files with 1,269 additions and 219 deletions.
3 changes: 3 additions & 0 deletions .quarto/listing/listing-cache.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@
],
"previous_projects\\projects_by_theme.qmd": [
"*/*/index.qmd"
],
"hsma_content\\modules\\current_module_details\\8_modern_analytics.qmd": [
"module_8_modern_analytics/*.qmd"
]
}
}
3 changes: 3 additions & 0 deletions .quarto/xref/INDEX
Original file line number Diff line number Diff line change
Expand Up @@ -736,5 +736,8 @@
},
"impact_stories.qmd": {
"impact_stories.html": "1464311f"
},
"hsma_content/modules/current_module_details/module_8_modern_analytics/8c_wrap_up.qmd": {
"8c_wrap_up.html": "98381d44"
}
}
355 changes: 302 additions & 53 deletions docs/hsma_content/modules/current_module_details/8_modern_analytics.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.4.552">
<meta name="generator" content="quarto-1.6.36">

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


<title>HSMA</title>
<title>8A: Reproducible Reporting in Python with Quarto and xlsxwriter – HSMA</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
Expand Down Expand Up @@ -37,10 +37,10 @@
<script src="../../../../site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="../../../../site_libs/quarto-html/anchor.min.js"></script>
<link href="../../../../site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="../../../../site_libs/quarto-html/quarto-syntax-highlighting-dark.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<link href="../../../../site_libs/quarto-html/quarto-syntax-highlighting-dark-474c6d7e63be50eb6972897072b39b27.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="dark">
<link href="../../../../site_libs/bootstrap/bootstrap-3437176a95fd2d2ea85a384291a93977.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="dark">
<script id="quarto-search-options" type="application/json">{
"location": "navbar",
"copy-button": false,
Expand Down Expand Up @@ -98,7 +98,8 @@
<style>

.quarto-title-block .quarto-title-banner {
background: /resources/banner.png;
background-image: url(../../../banner.png);
background-size: cover;
}
</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
Expand All @@ -111,15 +112,15 @@

<div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top quarto-banner">
<nav class="navbar navbar-expand-lg " data-bs-theme="dark">
<nav class="navbar navbar-expand-xl " data-bs-theme="dark">
<div class="navbar-container container-fluid">
<div class="navbar-brand-container mx-auto">
<a href="../../../../index.html" class="navbar-brand navbar-brand-logo">
<img src="../../../../resources/Chalky HSMA-07-wide white logo.png" alt="" class="navbar-logo">
</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(); }">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" role="menu" 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">
Expand All @@ -129,44 +130,25 @@
<span class="menu-text">Welcome</span></a>
</li>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-about" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<span class="menu-text">About</span>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="nav-menu-about">
<li>
<a class="dropdown-item" href="../../../../about-hsma.html">
<span class="dropdown-text">The HSMA Programme</span></a>
</li>
<li>
<a class="dropdown-item" href="../../../../faqs.html">
<span class="dropdown-text">Frequently Asked Questions</span></a>
</li>
<li>
<a class="dropdown-item" href="../../../../foss.html">
<span class="dropdown-text">HSMA &amp; Open Source Software</span></a>
</li>
</ul>
</li>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-hsma-projects" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<span class="menu-text">HSMA Projects</span>
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-projects" role="link" data-bs-toggle="dropdown" aria-expanded="false">
<span class="menu-text">Projects</span>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="nav-menu-hsma-projects">
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="nav-menu-projects">
<li>
<a class="dropdown-item" href="../../../../previous_projects/projects_by_service_area.html">
<span class="dropdown-text">Projects by Service Area</span></a>
<span class="dropdown-text">Projects by Area of Care</span></a>
</li>
<li>
<a class="dropdown-item" href="../../../../previous_projects/projects_by_organisation.html">
<span class="dropdown-text">Projects by Organisation Type</span></a>
<a class="dropdown-item" href="../../../../previous_projects/projects_by_service_type_location.html">
<span class="dropdown-text">Projects by Care Delivery Location</span></a>
</li>
<li>
<a class="dropdown-item" href="../../../../previous_projects/projects_by_methods.html">
<span class="dropdown-text">Projects by Method</span></a>
</li>
<li>
<a class="dropdown-item" href="../../../../previous_projects/projects_by_cohort.html">
<span class="dropdown-text">Projects by Cohort</span></a>
<span class="dropdown-text">Projects by HSMA Cohort</span></a>
</li>
<li>
<a class="dropdown-item" href="../../../../previous_projects/projects_in_progress.html">
Expand All @@ -178,16 +160,20 @@
</li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="../../../../impact_stories.html">
<span class="menu-text">Case Studies</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="../../../../hsma_content/books/books.html">
<span class="menu-text">HSMA Books</span></a>
<span class="menu-text">Books</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="../../../../hsma_content/modules/modules.html">
<span class="menu-text">HSMA Modules</span></a>
<span class="menu-text">Modules</span></a>
</li>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-other-resources" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-other-resources" role="link" data-bs-toggle="dropdown" aria-expanded="false">
<span class="menu-text">Other Resources</span>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="nav-menu-other-resources">
Expand All @@ -201,12 +187,31 @@
</li>
</ul>
</li>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-about" role="link" data-bs-toggle="dropdown" aria-expanded="false">
<span class="menu-text">About</span>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="nav-menu-about">
<li>
<a class="dropdown-item" href="../../../../about-hsma.html">
<span class="dropdown-text">The HSMA Programme</span></a>
</li>
<li>
<a class="dropdown-item" href="../../../../foss.html">
<span class="dropdown-text">HSMA &amp; Open Source Software</span></a>
</li>
<li>
<a class="dropdown-item" href="../../../../faqs.html">
<span class="dropdown-text">Frequently Asked Questions</span></a>
</li>
</ul>
</li>
</ul>
</div> <!-- /navcollapse -->
<div class="quarto-navbar-tools tools-wide">
<div class="quarto-navbar-tools tools-wide">
<a href="https://www.youtube.com/@hsma" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-youtube"></i></a>
<div class="dropdown">
<a href="" title="" id="quarto-navigation-tool-dropdown-0" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" aria-expanded="false" aria-label=""><i class="bi bi-github"></i></a>
<a href="" title="" id="quarto-navigation-tool-dropdown-0" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" aria-expanded="false" role="link" aria-label=""><i class="bi bi-github"></i></a>
<ul class="dropdown-menu" aria-labelledby="quarto-navigation-tool-dropdown-0">
<li>
<a class="dropdown-item quarto-navbar-tools-item" href="https://github.com/hsma-programme">
Expand All @@ -226,10 +231,26 @@
</nav>
</header>
<!-- content -->
<div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article page-navbar">
<header id="title-block-header" class="quarto-title-block default page-columns page-full">
<div class="quarto-title-banner page-columns page-full">
<div class="quarto-title column-body">
<h1 class="title">8A: Reproducible Reporting in Python with Quarto and xlsxwriter</h1>
</div>
</div>


<div class="quarto-title-meta">




</div>


</header><div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article page-navbar">
<!-- sidebar -->
<!-- margin-sidebar -->
<div id="quarto-margin-sidebar" class="sidebar margin-sidebar">
<div id="quarto-margin-sidebar" class="sidebar margin-sidebar zindex-bottom">

</div>
<!-- main -->
Expand All @@ -241,6 +262,7 @@




</main> <!-- /main -->
<script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) {
Expand Down Expand Up @@ -277,18 +299,7 @@
}
return false;
}
const clipboard = new window.ClipboardJS('.code-copy-button', {
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) {
const onCopySuccess = function(e) {
// button target
const button = e.trigger;
// don't keep focus
Expand Down Expand Up @@ -320,15 +331,35 @@
}, 1000);
// clear code selection
e.clearSelection();
}
const getTextToCopy = function(trigger) {
const codeEl = trigger.previousElementSibling.cloneNode(true);
for (const childEl of codeEl.children) {
if (isCodeAnnotation(childEl)) {
childEl.remove();
}
}
return codeEl.innerText;
}
const clipboard = new window.ClipboardJS('.code-copy-button:not([data-in-quarto-modal])', {
text: getTextToCopy
});
clipboard.on('success', onCopySuccess);
if (window.document.getElementById('quarto-embedded-source-code-modal')) {
const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', {
text: getTextToCopy,
container: window.document.getElementById('quarto-embedded-source-code-modal')
});
clipboardModal.on('success', onCopySuccess);
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp('/' + window.location.host + '/');
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
// Inspect non-navigation links and adorn them if external
var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool)');
var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool):not(.about-link)');
for (var i=0; i<links.length; i++) {
const link = links[i];
if (!isInternal(link.href)) {
Expand Down Expand Up @@ -425,7 +456,6 @@
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(note);
}
// TODO in 1.5, we should make sure this works without a callout special case
if (note.classList.contains("callout")) {
return note.outerHTML;
} else {
Expand Down
Loading

0 comments on commit 720a4d6

Please sign in to comment.