Skip to content

Commit

Permalink
new di cook award dates
Browse files Browse the repository at this point in the history
  • Loading branch information
dicook committed Jul 1, 2024
1 parent 8cfe20b commit 88005c6
Show file tree
Hide file tree
Showing 52 changed files with 578 additions and 16,409 deletions.
144 changes: 90 additions & 54 deletions docs/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<style type="text/css">code{white-space: pre;}</style>
<style type="text/css" data-origin="pandoc">
pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span { line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.sourceCode { overflow: visible; }
code.sourceCode > span { color: inherit; text-decoration: inherit; }
Expand Down Expand Up @@ -50,16 +50,17 @@
}
pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
div.sourceCode
{ }
{ color: #00769e; background-color: #f1f3f5; }
@media screen {
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
}
code span { color: #00769e; } /* Normal */
code span.al { color: #ad0000; } /* Alert */
code span.an { color: #5e5e5e; } /* Annotation */
code span.at { } /* Attribute */
code span.at { color: #657422; } /* Attribute */
code span.bn { color: #ad0000; } /* BaseN */
code span.bu { } /* BuiltIn */
code span.cf { color: #007ba5; } /* ControlFlow */
code span.cf { color: #00769e; } /* ControlFlow */
code span.ch { color: #20794d; } /* Char */
code span.cn { color: #8f5902; } /* Constant */
code span.co { color: #5e5e5e; } /* Comment */
Expand All @@ -73,9 +74,9 @@
code span.fu { color: #4758ab; } /* Function */
code span.im { } /* Import */
code span.in { color: #5e5e5e; } /* Information */
code span.kw { color: #007ba5; } /* Keyword */
code span.kw { color: #00769e; } /* Keyword */
code span.op { color: #5e5e5e; } /* Operator */
code span.ot { color: #007ba5; } /* Other */
code span.ot { color: #00769e; } /* Other */
code span.pp { color: #ad0000; } /* Preprocessor */
code span.sc { color: #5e5e5e; } /* SpecialChar */
code span.ss { color: #20794d; } /* SpecialString */
Expand Down Expand Up @@ -458,8 +459,8 @@
</style>

<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet"/>
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet"/>
<link href="site_libs/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"/>
<link href="site_libs/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"/>
<script src="site_libs/headroom-0.9.4/headroom.min.js"></script>
<script src="site_libs/autocomplete-0.37.1/autocomplete.min.js"></script>
<script src="site_libs/fuse-6.4.1/fuse.min.js"></script>
Expand Down Expand Up @@ -788,6 +789,7 @@ <h3>${suggestion.title}</h3>
d-article table.gt_table td,
d-article table.gt_table th {
border-bottom: none;
font-size: 100%;
}

.html-widget {
Expand Down Expand Up @@ -828,9 +830,21 @@ <h3>${suggestion.title}</h3>
display: none !important;
}

hr.section-separator {
border: none;
border-top: 1px solid rgba(0, 0, 0, 0.1);
margin: 0px;
}


d-byline {
border-top: none;
}

d-article {
padding-top: 2.5rem;
padding-bottom: 30px;
border-top: none;
}

d-appendix {
Expand Down Expand Up @@ -927,6 +941,11 @@ <h3>${suggestion.title}</h3>
font-size: 14px;
}

/* tweak for Pandoc numbered line within distill */
d-article pre.numberSource code > span {
left: -2em;
}

d-article pre {
font-size: 14px;
}
Expand Down Expand Up @@ -1031,10 +1050,6 @@ <h3>${suggestion.title}</h3>
margin-top: 1.5em;
}

.figure img {
width: 100%;
}

.figure .caption {
color: rgba(0, 0, 0, 0.6);
font-size: 12px;
Expand Down Expand Up @@ -1690,6 +1705,12 @@ <h3>${suggestion.title}</h3>
// create d-title
$('.d-title').changeElementType('d-title');

// separator
var separator = '<hr class="section-separator" style="clear: both"/>';
// prepend separator above appendix
$('.d-byline').before(separator);
$('.d-article').before(separator);

// create d-byline
var byline = $('<d-byline></d-byline>');
$('.d-byline').replaceWith(byline);
Expand Down Expand Up @@ -1767,8 +1788,9 @@ <h3>${suggestion.title}</h3>
$('.distill-force-highlighting-css').parent().remove();

// remove empty line numbers inserted by pandoc when using a
// custom syntax highlighting theme
$('code.sourceCode a:empty').remove();
// custom syntax highlighting theme, except when numbering line
// in code chunk
$('pre:not(.numberLines) code.sourceCode a:empty').remove();

// load distill framework
load_distill_framework();
Expand All @@ -1794,12 +1816,13 @@ <h3>${suggestion.title}</h3>
// add orcid ids
$('.authors-affiliations').find('.author').each(function(i, el) {
var orcid_id = front_matter.authors[i].orcidID;
var author_name = front_matter.authors[i].author
if (orcid_id) {
var a = $('<a></a>');
a.attr('href', 'https://orcid.org/' + orcid_id);
var img = $('<img></img>');
img.addClass('orcid-id');
img.attr('alt', 'ORCID ID');
img.attr('alt', author_name ? 'ORCID ID for ' + author_name : 'ORCID ID');
img.attr('src','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY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5ErkJggg==');
a.append(img);
$(this).append(a);
Expand Down Expand Up @@ -1864,9 +1887,21 @@ <h3>${suggestion.title}</h3>

// hoverable references
$('span.citation[data-cites]').each(function() {
const citeChild = $(this).children()[0]
// Do not process if @xyz has been used without escaping and without bibliography activated
// https://github.com/rstudio/distill/issues/466
if (citeChild === undefined) return true

if (citeChild.nodeName == "D-FOOTNOTE") {
var fn = citeChild
$(this).html(fn.shadowRoot.querySelector("sup"))
$(this).id = fn.id
fn.remove()
}
var refs = $(this).attr('data-cites').split(" ");
var refHtml = refs.map(function(ref) {
return "<p>" + $('#ref-' + ref).html() + "</p>";
// Could use CSS.escape too here, we insure backward compatibility in navigator
return "<p>" + $('div[id="ref-' + ref + '"]').html() + "</p>";
}).join("\n");
window.tippy(this, {
allowHTML: true,
Expand All @@ -1879,6 +1914,31 @@ <h3>${suggestion.title}</h3>
});
});

// fix footnotes in tables (#411)
// replacing broken distill.pub feature
$('table d-footnote').each(function() {
// we replace internal showAtNode methode which is triggered when hovering a footnote
this.hoverBox.showAtNode = function(node) {
// ported from https://github.com/distillpub/template/pull/105/files
calcOffset = function(elem) {
let x = elem.offsetLeft;
let y = elem.offsetTop;
// Traverse upwards until an `absolute` element is found or `elem`
// becomes null.
while (elem = elem.offsetParent && elem.style.position != 'absolute') {
x += elem.offsetLeft;
y += elem.offsetTop;
}

return { left: x, top: y };
}
// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetTop
const bbox = node.getBoundingClientRect();
const offset = calcOffset(node);
this.show([offset.left + bbox.width, offset.top + bbox.height]);
}
})

// clear polling timer
clearInterval(tid);

Expand Down Expand Up @@ -1977,6 +2037,8 @@ <h3>${suggestion.title}</h3>
// mark non-body figures created by knitr chunks as 100% width
$('.layout-chunk').each(function(i, val) {
var figures = $(this).find('img, .html-widget');
// ignore leaflet img layers (#106)
figures = figures.filter(':not(img[class*="leaflet"])')
if ($(this).attr('data-layout') !== "l-body") {
figures.css('width', '100%');
} else {
Expand All @@ -1999,7 +2061,7 @@ <h3>${suggestion.title}</h3>
// get rid of index.html references in header
if (window.location.protocol !== "file:") {
$('.distill-site-header a[href]').each(function(i,val) {
$(this).attr('href', $(this).attr('href').replace("index.html", "./"));
$(this).attr('href', $(this).attr('href').replace(/^index[.]html/, "./"));
});
}

Expand Down Expand Up @@ -2385,7 +2447,7 @@ <h3>${suggestion.title}</h3>
color: var(--hover-color, white);
}</style>
<!--/radix_placeholder_distill-->
<script src="site_libs/header-attrs-2.14/header-attrs.js"></script>
<script src="site_libs/header-attrs-2.27/header-attrs.js"></script>
<script src="site_libs/popper-2.6.0/popper.min.js"></script>
<link href="site_libs/tippy-6.2.7/tippy.css" rel="stylesheet" />
<link href="site_libs/tippy-6.2.7/tippy-light-border.css" rel="stylesheet" />
Expand Down Expand Up @@ -2438,52 +2500,26 @@ <h3>${suggestion.title}</h3>

<div class="d-title">
<h1>About</h1>

<!--radix_placeholder_categories-->
<!--/radix_placeholder_categories-->

</div>


<div class="d-article">
<p>Statistical software tools make a considerable difference to the
daily life of an analyst. This Award aims to:</p>
<p>Statistical software tools make a considerable difference to the daily life of an analyst. This Award aims to:</p>
<ol type="1">
<li>Encourage statistical software development by providing formal
recognition of these developments</li>
<li>Showcase the pool of statistical software developers in our local
communities and</li>
<li>Raise awareness of the statistical tools developed by community
members.</li>
<li>Encourage statistical software development by providing formal recognition of these developments</li>
<li>Showcase the pool of statistical software developers in our local communities and</li>
<li>Raise awareness of the statistical tools developed by community members.</li>
</ol>
<p>The use of open-source software (e.g. Python and R) is fast growing
among users of programming languages, and such software is widely used
for statistical computing and graphics. This Award focuses on
open-source software because the methods are transparent to users, and
many of the contributions are volunteered by the community with little
remuneration or formal recognition. This is a factor which this Award
aims to address.</p>
<h1 id="professor-dianne-cook"><i class="fas fa-user"></i> Professor
Dianne Cook</h1>
<p><img src="img/dicook-2019.png" style="border: 3px solid black;width:120px;float:left;margin-right: 10px;margin-bottom:10px;">
Professor Dianne Cook was born and raised in regional Australia. She
completed her Bachelor of Science at the University of New England
before heading to the USA to complete her PhD in Statistics at Rutgers
University. Prof. Cook spent most of her academic career at the
Department of Statistics at the Iowa State University before returning
back to Australia in 2015 to join the Department of Econometrics and
Business Statistics at Monash University. She is particularly well known
for her research in visual inference and high-dimensional data
visualisation and as an avid advocate of statistical software
development. A number of students under her supervision have developed
highly successful R packages, including Hadley Wickham who developed
<code>ggplot2</code>, Yihui Xie who developed <code>knitr</code> and
Earo Wang who developed <code>tsibble</code>.</p>
<p>The use of open-source software (e.g. Python and R) is fast growing among users of programming languages, and such software is widely used for statistical computing and graphics. This Award focuses on open-source software because the methods are transparent to users, and many of the contributions are volunteered by the community with little remuneration or formal recognition. This is a factor which this Award aims to address.</p>
<h1 id="professor-dianne-cook"><i class="fas fa-user"></i> Professor Dianne Cook</h1>
<p><img src="img/dicook-2019.png" style="border: 3px solid black;width:120px;float:left;margin-right: 10px;margin-bottom:10px;"> Professor Dianne Cook was born and raised in regional Australia. She completed her Bachelor of Science at the University of New England before heading to the USA to complete her PhD in Statistics at Rutgers University. Prof. Cook spent most of her academic career at the Department of Statistics at the Iowa State University before returning back to Australia in 2015 to join the Department of Econometrics and Business Statistics at Monash University. She is particularly well known for her research in visual inference and high-dimensional data visualisation and as an avid advocate of statistical software development. A number of students under her supervision have developed highly successful R packages, including Hadley Wickham who developed <code>ggplot2</code>, Yihui Xie who developed <code>knitr</code> and Earo Wang who developed <code>tsibble</code>.</p>
<h1 id="contact"><i class="fas fa-envelope"></i> Contact</h1>
<p>If you have any enquiries about this award, please get in touch by
emailing <a href="mailto:[email protected]"
class="email">[email protected]</a>.</p>
<div class="sourceCode" id="cb1"><pre
class="sourceCode r distill-force-highlighting-css"><code class="sourceCode r"></code></pre></div>
<p>If you have any enquiries about this award, please get in touch by emailing <a href="mailto:[email protected]" class="email">[email protected]</a>.</p>
<div class="sourceCode" id="cb1"><pre class="sourceCode r distill-force-highlighting-css"><code class="sourceCode r"></code></pre></div>
<!--radix_placeholder_article_footer-->
<!--/radix_placeholder_article_footer-->
</div>
Expand Down
Loading

0 comments on commit 88005c6

Please sign in to comment.