R4CR: Education for Clinical Researchers via Quarto
💡 I’ll share experiences of building web page for teaching R using Quarto.
If you have own R contents and want to share it in online, this talk will be helpful for you.
Clinical or Medical field is one of the most important area that R is used.
Because
Both SAS and R used, but R is increasingly popular due to its flexibility and open-source nature.
Traditionally, Researchers focus on the design and execution of the study and leave the coding to professional statistical programmers and statisticians
Now, researchers are increasingly coding themselves.
Zarathu is a research support organisation, recently started training researchers to code to meet this demand.
R is used extensively in various data fields including medical / academy.
Many R contents (slide
, recording
, document
, report
) existed in various location.
Need to organize and share to be used easily.
Also our team, Zarathu had a number of R content for medical school / pharma members
Used for seminars, but need to create a new repository for it each time.
In Github (README.MD)
Not bad, but information are not organized well.
Support natively R contents
Can manage with in one place
Can custom even external service
Use “Other languages” except R
Spend the extra money to do this
Github README for link each contents
Website on Github Pages with Quarto Blog
💡 Vercel, Netlify may works
1. Build Quarto Website
Build contents as Quarto Presentation
Decorate website
2. Organize contents using navbar
3. Embeding slide
4. Customize slick (slider)
Start from Rstudio’s New project -> Quarto website feature.
<script src="jquery-3.3.1.min.js"></script>
<script src="slick.min.js"></script>
<link rel="stylesheet" href="slick.css" />
<link rel="stylesheet" href="slick-theme.css" />
<script>
$(document).ready(function() {
$('.slider').slick({speed: 500, ...});
});
</script>
<style>
.slider {
width: 1000px;
margin: 0px auto;
}
</style>
slider.html
in archive.qmd
slider.html
contains JavaScript and CSS files for slicktalks
folder in talks
archive.qmd
is Quarto blog to show multiple element as card with thumbnailsGithub page (very easy)
Add custom domain name with CNAME
(not essential, need to pay)
https://education.zarathu.com/
💡 Note
R4CR: is managing system for clinical and R contents
Manage webpage and contents in single project
R and Markdown (Quarto)
Free
Custom
Provided R lecture for several hospitals and universities as expected
Since we shared contents as public, it helped us with recruiting process.
We could write a book based on these materials.
Interactive with webR
/ shinylive
More R / Clinical contents
I18N using profile
Private R4CR
Template of R4CR
R4CR: R Education for Clinical Researchers via Quarto