Skip to content

Commit

Permalink
update local data guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Ana Petrović committed Jul 30, 2024
1 parent c22c2de commit a210fbe
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 28 deletions.
46 changes: 23 additions & 23 deletions instructors/2-vector-slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */
margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */
vertical-align: middle;
}
/* CSS for syntax highlighting */
Expand Down Expand Up @@ -107,11 +107,11 @@

.callout {
margin-top: 1em;
margin-bottom: 1em;
margin-bottom: 1em;
border-radius: .25rem;
}

.callout.callout-style-simple {
.callout.callout-style-simple {
padding: 0em 0.5em;
border-left: solid #acacac .3rem;
border-right: solid 1px silver;
Expand Down Expand Up @@ -162,7 +162,7 @@
margin-top: 0.5em;
margin-bottom: 0.5em;
}

.callout.callout-titled.callout-style-simple .callout-content p {
margin-top: 0;
}
Expand Down Expand Up @@ -213,7 +213,7 @@
.callout-title {
display: flex
}

.callout-icon::before {
margin-top: 1rem;
padding-right: .5rem;
Expand Down Expand Up @@ -326,12 +326,12 @@
}
.reveal .footnotes ol {
counter-reset: ol;
list-style-type: none;
list-style-type: none;
margin-left: 0;
}
.reveal .footnotes ol li:before {
counter-increment: ol;
content: counter(ol) ". ";
content: counter(ol) ". ";
}
.reveal .footnotes ol li > p:first-child {
display: inline-block;
Expand Down Expand Up @@ -373,19 +373,19 @@
.reveal .slide > img.r-stretch.quarto-figure-center {
display: block;
margin-left: auto;
margin-right: auto;
margin-right: auto;
}
.reveal .slide > img.stretch.quarto-figure-left,
.reveal .slide > img.r-stretch.quarto-figure-left {
display: block;
margin-left: 0;
margin-right: auto;
margin-right: auto;
}
.reveal .slide > img.stretch.quarto-figure-right,
.reveal .slide > img.r-stretch.quarto-figure-right {
display: block;
margin-left: auto;
margin-right: 0;
margin-right: 0;
}
</style>
<link href="2-vector-slides_files/libs/countdown-0.4.0/countdown.css" rel="stylesheet">
Expand All @@ -401,12 +401,12 @@ <h1 class="title">Introduction to Geospatial Vector Data with R</h1>
<div class="quarto-title-authors">
<div class="quarto-title-author">
<div class="quarto-title-author-name">
Ana Petrović
Ana Petrović
</div>
</div>
<div class="quarto-title-author">
<div class="quarto-title-author-name">
Claudiu Forgaci
Claudiu Forgaci
</div>
</div>
</div>
Expand Down Expand Up @@ -940,7 +940,7 @@ <h2>Challenge 8: <strong>3 mins</strong></h2>
<script src="2-vector-slides_files/libs/revealjs/plugin/reveal-menu/quarto-menu.js"></script>
<script src="2-vector-slides_files/libs/revealjs/plugin/reveal-chalkboard/plugin.js"></script>
<script src="2-vector-slides_files/libs/revealjs/plugin/quarto-support/support.js"></script>


<script src="2-vector-slides_files/libs/revealjs/plugin/notes/notes.js"></script>
<script src="2-vector-slides_files/libs/revealjs/plugin/search/search.js"></script>
Expand All @@ -962,7 +962,7 @@ <h2>Challenge 8: <strong>3 mins</strong></h2>
'menu': {"side":"left","useTextContentForMissingTitles":true,"markers":false,"loadIcons":false,"custom":[{"title":"Tools","icon":"<i class=\"fas fa-gear\"></i>","content":"<ul class=\"slide-menu-items\">\n<li class=\"slide-tool-item active\" data-item=\"0\"><a href=\"#\" onclick=\"RevealMenuToolHandlers.fullscreen(event)\"><kbd>f</kbd> Fullscreen</a></li>\n<li class=\"slide-tool-item\" data-item=\"1\"><a href=\"#\" onclick=\"RevealMenuToolHandlers.speakerMode(event)\"><kbd>s</kbd> Speaker View</a></li>\n<li class=\"slide-tool-item\" data-item=\"2\"><a href=\"#\" onclick=\"RevealMenuToolHandlers.overview(event)\"><kbd>o</kbd> Slide Overview</a></li>\n<li class=\"slide-tool-item\" data-item=\"3\"><a href=\"#\" onclick=\"RevealMenuToolHandlers.togglePdfExport(event)\"><kbd>e</kbd> PDF Export Mode</a></li>\n<li class=\"slide-tool-item\" data-item=\"4\"><a href=\"#\" onclick=\"RevealMenuToolHandlers.toggleChalkboard(event)\"><kbd>b</kbd> Toggle Chalkboard</a></li>\n<li class=\"slide-tool-item\" data-item=\"5\"><a href=\"#\" onclick=\"RevealMenuToolHandlers.toggleNotesCanvas(event)\"><kbd>c</kbd> Toggle Notes Canvas</a></li>\n<li class=\"slide-tool-item\" data-item=\"6\"><a href=\"#\" onclick=\"RevealMenuToolHandlers.downloadDrawings(event)\"><kbd>d</kbd> Download Drawings</a></li>\n<li class=\"slide-tool-item\" data-item=\"7\"><a href=\"#\" onclick=\"RevealMenuToolHandlers.keyboardHelp(event)\"><kbd>?</kbd> Keyboard Help</a></li>\n</ul>"}],"openButton":true},
'chalkboard': {"buttons":true},
'smaller': false,

// Display controls in the bottom right corner
controls: false,

Expand Down Expand Up @@ -1140,7 +1140,7 @@ <h2>Challenge 8: <strong>3 mins</strong></h2>
]
});
</script>

<script>
// htmlwidgets need to know to resize themselves when slides are shown/hidden.
// Fire the "slideenter" event (handled by htmlwidgets.js) when the current
Expand Down Expand Up @@ -1197,14 +1197,14 @@ <h2>Challenge 8: <strong>3 mins</strong></h2>
toggleBodyColorMode(bsSheetEl);
}
}
toggleBodyColorPrimary();
toggleBodyColorPrimary();
const tabsets = window.document.querySelectorAll(".panel-tabset-tabby")
tabsets.forEach(function(tabset) {
const tabby = new Tabby('#' + tabset.id);
});
const isCodeAnnotation = (el) => {
for (const clz of el.classList) {
if (clz.startsWith('code-annotation-')) {
if (clz.startsWith('code-annotation-')) {
return true;
}
}
Expand Down Expand Up @@ -1235,11 +1235,11 @@ <h2>Challenge 8: <strong>3 mins</strong></h2>
button.setAttribute("data-bs-toggle", "tooltip");
button.setAttribute("data-bs-placement", "left");
button.setAttribute("data-bs-title", "Copied!");
tooltip = new bootstrap.Tooltip(button,
{ trigger: "manual",
tooltip = new bootstrap.Tooltip(button,
{ trigger: "manual",
customClass: "code-copy-button-tooltip",
offset: [0, -8]});
tooltip.show();
tooltip.show();
}
setTimeout(function() {
if (tooltip) {
Expand Down Expand Up @@ -1279,7 +1279,7 @@ <h2>Challenge 8: <strong>3 mins</strong></h2>
}
config['offset'] = [0,0];
config['maxWidth'] = 700;
window.tippy(el, config);
window.tippy(el, config);
}
const noterefs = window.document.querySelectorAll('a[role="doc-noteref"]');
for (var i=0; i<noterefs.length; i++) {
Expand Down Expand Up @@ -1332,6 +1332,6 @@ <h2>Challenge 8: <strong>3 mins</strong></h2>
}
});
</script>


</body></html>

</body></html>
8 changes: 5 additions & 3 deletions instructors/local-data-guidelines.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@ <h1 class="title">Guidelines for local workshop data</h1>

</header>

<section id="heading-1" class="level1">
<h1>Heading 1</h1>
<p>text</p>
<section id="using-alternative-datasets-for-other-countries" class="level2">
<h2 class="anchored" data-anchor-id="using-alternative-datasets-for-other-countries">Using alternative datasets for other countries</h2>
<p>For the parts of the workshop using OpenStreetMap data, you can use data for other countries from the same source, but keep in mind that the OpenStreetMap data is not the same for all countries. If the variables listed above are not available for your country, you can use other variables from the OpenStreetMap if they fit in the lesson plan. Or you may find the same variables as in the Dutch OpenStreetMap data, but from another source available in your country. In any case, please make sure that the types of the variables are the same and that the missing values are coded in the same way.</p>
<p>For Part 1, using the data from the Statistics Netherlands, you can search for alternative sources from your country, such as the national statistics office or other governmental institutions. Possibly, data from your own or your colleagues’ research can be used.</p>
<p>After choosing and adjusting your alternative dataset, and before running the workshop, data needs to be tested. Please follow the lesson plan to see if you can execute all the commands. Also, pay attention that the results you get fit within the programme of the lesson – that you can continue with the next steps without disruption.</p>
</section>

</main>
Expand Down
10 changes: 8 additions & 2 deletions instructors/local-data-guidelines.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ title: Guidelines for local workshop data
output: html
---

## Heading 1
text
## Using alternative datasets for other countries

For the parts of the workshop using OpenStreetMap data, you can use data for other countries from the same source, but keep in mind that the OpenStreetMap data is not the same for all countries. If the variables listed above are not available for your country, you can use other variables from the OpenStreetMap if they fit in the lesson plan. Or you may find the same variables as in the Dutch OpenStreetMap data, but from another source available in your country. In any case, please make sure that the types of the variables are the same and that the missing values are coded in the same way.

For Part 1, using the data from the Statistics Netherlands, you can search for alternative sources from your country, such as the national statistics office or other governmental institutions. Possibly, data from your own or your colleagues’ research can be used.

After choosing and adjusting your alternative dataset, and before running the workshop, data needs to be tested. Please follow the lesson plan to see if you can execute all the commands. Also, pay attention that the results you get fit within the programme of the lesson – that you can continue with the next steps without disruption.


0 comments on commit a210fbe

Please sign in to comment.