-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b2075d
commit 0be7113
Showing
32 changed files
with
8,158 additions
and
7,109 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.4.550"> | ||
<meta name="generator" content="quarto-1.4.555"> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> | ||
|
||
|
@@ -133,64 +133,123 @@ | |
</script> | ||
|
||
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-QXDW878QLX"></script> | ||
|
||
<script> | ||
|
||
window.dataLayer = window.dataLayer || []; | ||
|
||
function gtag(){dataLayer.push(arguments);} | ||
|
||
gtag('js', new Date()); | ||
|
||
|
||
|
||
gtag('config', 'G-QXDW878QLX'); | ||
|
||
</script> | ||
|
||
|
||
|
||
</head><body class="nav-sidebar floating"><div class="alert alert-info alert-dismissible"> | ||
|
||
<!-- <a href="#" class="close" data-dismiss="alert" aria-label="close">×</a> | ||
<strong>Need help learning R?</strong> Enroll in Applied Epi's <a href="https://www.appliedepi.org/live/" | ||
class="alert-link">intro R course</a>, try our <a href="https://www.appliedepi.org/tutorial/" | ||
class="alert-link">free R tutorials</a>, post in our <a href="https://community.appliedepi.org/" | ||
class="alert-link">Community Q&A forum</a>, or ask about our <a href="mailto:[email protected]" | ||
class="alert-link">R Help Desk service</a>. --> | ||
|
||
</div> | ||
|
||
|
||
|
||
<script> | ||
|
||
|
||
|
||
// Function to extract the last two characters from the URL path | ||
|
||
function getLanguageFromURL() { | ||
|
||
const path = window.location.pathname.split('/'); | ||
|
||
|
||
|
||
if (path.length > 1) { | ||
|
||
return path[1]; // Assume the language code is the second segment | ||
|
||
} | ||
|
||
|
||
|
||
return ''; | ||
|
||
} | ||
|
||
|
||
|
||
const language = getLanguageFromURL(); | ||
|
||
const supportedLanguages = ['fr', 'es', 'vn', 'jp', 'pt', 'tr', 'ru', 'en']; | ||
|
||
const defaultLanguage = 'en'; | ||
|
||
const isSupportedLanguage = supportedLanguages.includes(language); | ||
|
||
|
||
|
||
// Translations for the content | ||
|
||
const translations = { | ||
|
||
en: '<strong>Need help learning R?</strong> Enroll in Applied Epi\'s <a href="https://www.appliedepi.org/live/" class="alert-link">intro R course</a>, try our <a href="https://www.appliedepi.org/tutorial/" class="alert-link">free R tutorials</a>, post in our <a href="https://community.appliedepi.org/" class="alert-link">Community Q&A forum</a>, or ask about our <a href="mailto:[email protected]" class="alert-link">R Help Desk service</a>.', | ||
|
||
fr: '<strong>Besoin d\'aide pour apprendre R ?</strong> Inscrivez-vous au <a href="https://www.appliedepi.org/live/" class="alert-link">cours d\'introduction à R</a> d\'Applied Epi, essayez nos <a href="https://www.appliedepi.org/tutorial/" class="alert-link">tutoriels R gratuits</a>, postez dans notre forum de <a href="https://community.appliedepi.org/" class="alert-link">questions-réponses communautaires</a>, ou demandez-nous des informations sur <a href="mailto:[email protected]" class="alert-link"> notre service d\'assistance R</a>.', | ||
|
||
es: '<strong>¿Necesitas ayuda para aprender R?</strong> Inscríbete en el <a href="https://www.appliedepi.org/live/" class="alert-link">Curso de introducción a R</a> de Applied Epi, prueba nuestros <a href="https://www.appliedepi.org/tutorial/" class="alert-link">Tutoriales gratuitos de R</a>, escribe en nuestro <a href="https://community.appliedepi.org/" class="alert-link">Foro de preguntas y respuestas,</a> o pregunta por nuestra <a href="mailto:[email protected]" class="alert-link">Asistencia técnica para R</a>.', | ||
|
||
vn: '<strong>Bạn cần giúp đỡ trong việc học R?</strong> Hãy đăng ký khóa học R cơ bản của Applied Epi tại <a href="https://www.appliedepi.org/live/" class="alert-link">đây</a>, hoặc thử các <a href="https://www.appliedepi.org/tutorial/" class="alert-link">hướng dẫn R miễn phí</a>, đăng bài trong <a href="https://community.appliedepi.org/" class="alert-link">diễn đàn cộng đồng</a>, hoặc gửi câu hỏi tới <a href="mailto:[email protected]" class="alert-link">dịch vụ Trợ giúp R</a> của chúng tôi.', | ||
|
||
jp: '<strong>Rの学習について助けが必要ですか?</strong>Applied Epiの<a href="https://www.appliedepi.org/live/" class="alert-link">R入門コース</a>に登録するか、<a href="https://www.appliedepi.org/tutorial/" class="alert-link">無料Rチュートリアル</a>を試すか、<a href="https://community.appliedepi.org/" class="alert-link">コミュニティQ&Aフォーラム</a>に投稿するか、<a href="mailto:[email protected]" class="alert-link">Rヘルプデスクサービス</a>についてお問い合わせください。', | ||
|
||
pt: '<strong>Você precisa de ajuda para aprender R??</strong> Inscreva-se no curso de <a href="https://www.appliedepi.org/live/" class="alert-link">introdução ao R da Applied Epi</a>, experimente nossos <a href="https://www.appliedepi.org/tutorial/" class="alert-link">tutoriais gratuitos sobre o R</a>, publique em nosso <a href="https://community.appliedepi.org/" class="alert-link">fórum de perguntas e respostas</a>, ou solicite nosso <a href="mailto:[email protected]" class="alert-link">suporte ao R</a>.', | ||
|
||
tr: '<strong>R öğrenmekte yardıma mı ihtiyacınız var?</strong> Applied Epi\'\nin <a href="https://www.appliedepi.org/live/" class="alert-link">R\'ye giriş kursuna</a> kaydolun, <a href="https://www.appliedepi.org/tutorial/" class="alert-link">ücretsiz R derslerimizi</a> deneyin, <a href="https://community.appliedepi.org/" class="alert-link">Topluluk Q&A forumunda</a> soru paylaşın, ya da <a href="mailto:[email protected]" class="alert-link">R Yardım Masası hizmetimiz</a> hakkında sorun.', | ||
|
||
ru: '<strong>Нужна помощь в изучении R?</strong> Запишитесь на <a href="https://www.appliedepi.org/live/" class="alert-link">вводный курс по R</a> от Applied Epi, попробуйте наши <a href="https://www.appliedepi.org/tutorial/" class="alert-link">бесплатные учебные материалы по R</a>, задайте вопрос в нашем <a href="https://community.appliedepi.org/" class="alert-link">форуме вопросов и ответов сообщества</a>, или спросите о нашей услуге <a href="mailto:[email protected]" class="alert-link">Службы поддержки по R</a>.' | ||
|
||
}; | ||
|
||
|
||
|
||
// Default to English if the detected language is not supported | ||
|
||
const contentToDisplay = translations[isSupportedLanguage ? language : defaultLanguage]; | ||
|
||
|
||
|
||
|
||
|
||
// Select the element where the content should be displayed | ||
|
||
const alertElement = document.querySelector('.alert'); | ||
|
||
if (alertElement) { | ||
|
||
alertElement.innerHTML = contentToDisplay; | ||
|
||
alertElement.style.display = 'block'; // Make sure to display the element | ||
|
||
} | ||
|
||
|
||
|
||
</script> | ||
|
||
|
||
|
@@ -1186,6 +1245,24 @@ <h2 data-number="50.7" class="anchored" data-anchor-id="resources"><span class=" | |
// clear code selection | ||
e.clearSelection(); | ||
}); | ||
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)'); | ||
for (var i=0; i<links.length; i++) { | ||
const link = links[i]; | ||
if (!isInternal(link.href)) { | ||
// undo the damage that might have been done by quarto-nav.js in the case of | ||
// links that we want to consider external | ||
if (link.dataset.originalHref !== undefined) { | ||
link.href = link.dataset.originalHref; | ||
} | ||
} | ||
} | ||
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) { | ||
const config = { | ||
allowHTML: true, | ||
|
@@ -1220,7 +1297,11 @@ <h2 data-number="50.7" class="anchored" data-anchor-id="resources"><span class=" | |
try { href = new URL(href).hash; } catch {} | ||
const id = href.replace(/^#\/?/, ""); | ||
const note = window.document.getElementById(id); | ||
return note.innerHTML; | ||
if (note) { | ||
return note.innerHTML; | ||
} else { | ||
return ""; | ||
} | ||
}); | ||
} | ||
const xrefs = window.document.querySelectorAll('a.quarto-xref'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.4.550"> | ||
<meta name="generator" content="quarto-1.4.555"> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> | ||
|
||
|
@@ -137,64 +137,123 @@ | |
</script> | ||
|
||
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-QXDW878QLX"></script> | ||
|
||
<script> | ||
|
||
window.dataLayer = window.dataLayer || []; | ||
|
||
function gtag(){dataLayer.push(arguments);} | ||
|
||
gtag('js', new Date()); | ||
|
||
|
||
|
||
gtag('config', 'G-QXDW878QLX'); | ||
|
||
</script> | ||
|
||
|
||
|
||
</head><body class="nav-sidebar floating"><div class="alert alert-info alert-dismissible"> | ||
|
||
<!-- <a href="#" class="close" data-dismiss="alert" aria-label="close">×</a> | ||
<strong>Need help learning R?</strong> Enroll in Applied Epi's <a href="https://www.appliedepi.org/live/" | ||
class="alert-link">intro R course</a>, try our <a href="https://www.appliedepi.org/tutorial/" | ||
class="alert-link">free R tutorials</a>, post in our <a href="https://community.appliedepi.org/" | ||
class="alert-link">Community Q&A forum</a>, or ask about our <a href="mailto:[email protected]" | ||
class="alert-link">R Help Desk service</a>. --> | ||
|
||
</div> | ||
|
||
|
||
|
||
<script> | ||
|
||
|
||
|
||
// Function to extract the last two characters from the URL path | ||
|
||
function getLanguageFromURL() { | ||
|
||
const path = window.location.pathname.split('/'); | ||
|
||
|
||
|
||
if (path.length > 1) { | ||
|
||
return path[1]; // Assume the language code is the second segment | ||
|
||
} | ||
|
||
|
||
|
||
return ''; | ||
|
||
} | ||
|
||
|
||
|
||
const language = getLanguageFromURL(); | ||
|
||
const supportedLanguages = ['fr', 'es', 'vn', 'jp', 'pt', 'tr', 'ru', 'en']; | ||
|
||
const defaultLanguage = 'en'; | ||
|
||
const isSupportedLanguage = supportedLanguages.includes(language); | ||
|
||
|
||
|
||
// Translations for the content | ||
|
||
const translations = { | ||
|
||
en: '<strong>Need help learning R?</strong> Enroll in Applied Epi\'s <a href="https://www.appliedepi.org/live/" class="alert-link">intro R course</a>, try our <a href="https://www.appliedepi.org/tutorial/" class="alert-link">free R tutorials</a>, post in our <a href="https://community.appliedepi.org/" class="alert-link">Community Q&A forum</a>, or ask about our <a href="mailto:[email protected]" class="alert-link">R Help Desk service</a>.', | ||
|
||
fr: '<strong>Besoin d\'aide pour apprendre R ?</strong> Inscrivez-vous au <a href="https://www.appliedepi.org/live/" class="alert-link">cours d\'introduction à R</a> d\'Applied Epi, essayez nos <a href="https://www.appliedepi.org/tutorial/" class="alert-link">tutoriels R gratuits</a>, postez dans notre forum de <a href="https://community.appliedepi.org/" class="alert-link">questions-réponses communautaires</a>, ou demandez-nous des informations sur <a href="mailto:[email protected]" class="alert-link"> notre service d\'assistance R</a>.', | ||
|
||
es: '<strong>¿Necesitas ayuda para aprender R?</strong> Inscríbete en el <a href="https://www.appliedepi.org/live/" class="alert-link">Curso de introducción a R</a> de Applied Epi, prueba nuestros <a href="https://www.appliedepi.org/tutorial/" class="alert-link">Tutoriales gratuitos de R</a>, escribe en nuestro <a href="https://community.appliedepi.org/" class="alert-link">Foro de preguntas y respuestas,</a> o pregunta por nuestra <a href="mailto:[email protected]" class="alert-link">Asistencia técnica para R</a>.', | ||
|
||
vn: '<strong>Bạn cần giúp đỡ trong việc học R?</strong> Hãy đăng ký khóa học R cơ bản của Applied Epi tại <a href="https://www.appliedepi.org/live/" class="alert-link">đây</a>, hoặc thử các <a href="https://www.appliedepi.org/tutorial/" class="alert-link">hướng dẫn R miễn phí</a>, đăng bài trong <a href="https://community.appliedepi.org/" class="alert-link">diễn đàn cộng đồng</a>, hoặc gửi câu hỏi tới <a href="mailto:[email protected]" class="alert-link">dịch vụ Trợ giúp R</a> của chúng tôi.', | ||
|
||
jp: '<strong>Rの学習について助けが必要ですか?</strong>Applied Epiの<a href="https://www.appliedepi.org/live/" class="alert-link">R入門コース</a>に登録するか、<a href="https://www.appliedepi.org/tutorial/" class="alert-link">無料Rチュートリアル</a>を試すか、<a href="https://community.appliedepi.org/" class="alert-link">コミュニティQ&Aフォーラム</a>に投稿するか、<a href="mailto:[email protected]" class="alert-link">Rヘルプデスクサービス</a>についてお問い合わせください。', | ||
|
||
pt: '<strong>Você precisa de ajuda para aprender R??</strong> Inscreva-se no curso de <a href="https://www.appliedepi.org/live/" class="alert-link">introdução ao R da Applied Epi</a>, experimente nossos <a href="https://www.appliedepi.org/tutorial/" class="alert-link">tutoriais gratuitos sobre o R</a>, publique em nosso <a href="https://community.appliedepi.org/" class="alert-link">fórum de perguntas e respostas</a>, ou solicite nosso <a href="mailto:[email protected]" class="alert-link">suporte ao R</a>.', | ||
|
||
tr: '<strong>R öğrenmekte yardıma mı ihtiyacınız var?</strong> Applied Epi\'\nin <a href="https://www.appliedepi.org/live/" class="alert-link">R\'ye giriş kursuna</a> kaydolun, <a href="https://www.appliedepi.org/tutorial/" class="alert-link">ücretsiz R derslerimizi</a> deneyin, <a href="https://community.appliedepi.org/" class="alert-link">Topluluk Q&A forumunda</a> soru paylaşın, ya da <a href="mailto:[email protected]" class="alert-link">R Yardım Masası hizmetimiz</a> hakkında sorun.', | ||
|
||
ru: '<strong>Нужна помощь в изучении R?</strong> Запишитесь на <a href="https://www.appliedepi.org/live/" class="alert-link">вводный курс по R</a> от Applied Epi, попробуйте наши <a href="https://www.appliedepi.org/tutorial/" class="alert-link">бесплатные учебные материалы по R</a>, задайте вопрос в нашем <a href="https://community.appliedepi.org/" class="alert-link">форуме вопросов и ответов сообщества</a>, или спросите о нашей услуге <a href="mailto:[email protected]" class="alert-link">Службы поддержки по R</a>.' | ||
|
||
}; | ||
|
||
|
||
|
||
// Default to English if the detected language is not supported | ||
|
||
const contentToDisplay = translations[isSupportedLanguage ? language : defaultLanguage]; | ||
|
||
|
||
|
||
|
||
|
||
// Select the element where the content should be displayed | ||
|
||
const alertElement = document.querySelector('.alert'); | ||
|
||
if (alertElement) { | ||
|
||
alertElement.innerHTML = contentToDisplay; | ||
|
||
alertElement.style.display = 'block'; // Make sure to display the element | ||
|
||
} | ||
|
||
|
||
|
||
</script> | ||
|
||
|
||
|
@@ -819,7 +878,7 @@ <h4 class="unnumbered anchored" data-anchor-id="contact-tracing">Contact Tracing | |
<p><a href="https://github.com/WorldHealthOrganization/godata/blob/master/analytics/r-reporting/data/contacts_clean.rds?raw=true" class="download-button"> Click to download <span>the contact registration data (.rds file)</span> </a></p> | ||
<p><a href="https://github.com/WorldHealthOrganization/godata/blob/master/analytics/r-reporting/data/followups_clean.rds?raw=true" class="download-button"> Click to download <span>the contact follow-up data (.rds file)</span> </a></p> | ||
<p><span style="color: black;"><strong><em>NOTE:</em></strong> Structured contact tracing data from other software (e.g. KoBo, DHIS2 Tracker, CommCare) may look different. If you would like to contribute alternative sample data or content for this page, please <a href="#contact_us">contact us</a>.</span></p> | ||
<p><span style="color: darkgreen;"><strong><em>TIP:</em></strong> If you are deploying Go.Data and want to connect to your instance’s API, see the Import and export page <a href="importing.html#import_api">(API section)</a> and the <a href="https://community-godata.who.int/">Go.Data Community of Practice</a>.</span></p> | ||
<p><span style="color: darkgreen;"><strong><em>TIP:</em></strong> If you are deploying Go.Data and want to connect to your instance’s API, see the Import and export page <a href="#import_api">(API section)</a> and the <a href="https://community-godata.who.int/">Go.Data Community of Practice</a>.</span></p> | ||
</section> | ||
<section id="gis" class="level4 unnumbered"> | ||
<h4 class="unnumbered anchored" data-anchor-id="gis">GIS</h4> | ||
|
@@ -832,7 +891,7 @@ <h4 class="unnumbered anchored" data-anchor-id="gis">GIS</h4> | |
<div class="cell-output-display"> | ||
<div class="quarto-figure quarto-figure-center"> | ||
<figure class="figure"> | ||
<p><a href="../images/download_shp.png" class="lightbox" data-gallery="quarto-lightbox-gallery-1"><img src="../images/download_shp.png" class="quarto-figure quarto-figure-center figure-img" style="height:50.0%" width="918"></a></p> | ||
<p><a href="../images/download_shp.png" class="lightbox" data-gallery="quarto-lightbox-gallery-1"><img src="../images/download_shp.png" class="quarto-figure quarto-figure-center figure-img" style="height:50.0%"></a></p> | ||
</figure> | ||
</div> | ||
</div> | ||
|
@@ -1147,6 +1206,24 @@ <h4 class="unnumbered anchored" data-anchor-id="data_shiny">Shiny</h4> | |
// clear code selection | ||
e.clearSelection(); | ||
}); | ||
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)'); | ||
for (var i=0; i<links.length; i++) { | ||
const link = links[i]; | ||
if (!isInternal(link.href)) { | ||
// undo the damage that might have been done by quarto-nav.js in the case of | ||
// links that we want to consider external | ||
if (link.dataset.originalHref !== undefined) { | ||
link.href = link.dataset.originalHref; | ||
} | ||
} | ||
} | ||
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) { | ||
const config = { | ||
allowHTML: true, | ||
|
@@ -1181,7 +1258,11 @@ <h4 class="unnumbered anchored" data-anchor-id="data_shiny">Shiny</h4> | |
try { href = new URL(href).hash; } catch {} | ||
const id = href.replace(/^#\/?/, ""); | ||
const note = window.document.getElementById(id); | ||
return note.innerHTML; | ||
if (note) { | ||
return note.innerHTML; | ||
} else { | ||
return ""; | ||
} | ||
}); | ||
} | ||
const xrefs = window.document.querySelectorAll('a.quarto-xref'); | ||
|
@@ -1481,7 +1562,7 @@ <h4 class="unnumbered anchored" data-anchor-id="data_shiny">Shiny</h4> | |
</div> | ||
</div> | ||
</footer> | ||
<script>var lightboxQuarto = GLightbox({"openEffect":"zoom","loop":false,"descPosition":"bottom","selector":".lightbox","closeEffect":"zoom"}); | ||
<script>var lightboxQuarto = GLightbox({"selector":".lightbox","closeEffect":"zoom","openEffect":"zoom","loop":false,"descPosition":"bottom"}); | ||
window.onload = () => { | ||
lightboxQuarto.on('slide_before_load', (data) => { | ||
const { slideIndex, slideNode, slideConfig, player, trigger } = data; | ||
|
Oops, something went wrong.