diff --git a/.gitignore b/.gitignore index 0975863..cba43cc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ -public/ -static/processed_images/ +.Rproj.user +.Rhistory +.RData +.Ruserdata + +/.quarto/ diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index c88ea2d..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "uikit"] - path = uikit - url = git@github.com:uikit/uikit.git diff --git a/2024-04-17.qmd b/2024-04-17.qmd new file mode 100644 index 0000000..8759adb --- /dev/null +++ b/2024-04-17.qmd @@ -0,0 +1,20 @@ +--- +title: "RTromsø's First Meeting: 2024-04-17" +--- + +We were delighted with the turnout at RTromsø's first meeting on 2024-04-17. Held in the SVHUM E0101 auditorium, the meeting was attended by over 65 people from departments across UiT's campus. Pizza was provided by Radovan Bast with funding from the [Research Software Engineering](https://research-software.uit.no/) group at UiT. + +Those who attended were invited to respond to polls to give us a better idea about who was attending the meeting. From these we learned that: + +- The three largest roles were researchers, PhD students and Masters students. +- The two largest faculties represented were the Faculty of Health Sciences and the Faculty of Biosciences, Fisheries and Economics. +- Most attendees described themselves as having limited to moderate experience with R. + +When polled attendees' preferences, we observed: + +- Roughly equal interest in presentation, tutorial, help session, and problem solving formats +- Slight preference for scheduling meetings on alternating days of the week +- Meeting frequency preference split mostly between every two weeks and every month. +- 10 people willing to help out at help sessions, 5 willing to give tutorials, and 5 willing help with written materials. + +At the end of the meeting, a brief introduction to UiT's [Research Data Portal](https://en.uit.no/research/research-dataportal) was provided by Philipp Conzett. diff --git a/2024-05-07.qmd b/2024-05-07.qmd new file mode 100644 index 0000000..b71c8f0 --- /dev/null +++ b/2024-05-07.qmd @@ -0,0 +1,12 @@ +--- +title: "RTromsø Help Session: 2024-05-07" +--- + +RTromsø's first help session will be held from 11.00-12.30 at [SVHUM E0102](https://link.mazemap.com/ZGPh22t8) in the HSL building. + +A short tutorial session will be presented using the material from [Chapter 3](https://r4ds.hadley.nz/data-transform) of [R 4 Data Science](https://r4ds.hadley.nz/) by Hadley Wickham. + +The session plan is: + +- 11.00-11.30: Tutorial: Basics of dplyr and Data Frames +- 11.30-12.30: R Help Session \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index fd3413a..0000000 --- a/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# RTromsø, the R user group at UiT - -- https://uit-no.github.io/rtromso/ - - -### How the GitHub Pages part works - -The website is built using [Zola](https://www.getzola.org/). -Note that the `gh-pages` branch is generated on each push/merge to `main` -branch. The branch `gh-pages` should not be manually modified. - - -### Local preview - -- Install [Zola](https://www.getzola.org/documentation/getting-started/installation/) -- Serve locally: `$ zola serve` - -CSS is using [UIkit](https://getuikit.com/). diff --git a/content/logo/logo.svg b/RTromso-logo-hex.svg similarity index 72% rename from content/logo/logo.svg rename to RTromso-logo-hex.svg index 84223f4..3a80ab2 100644 --- a/content/logo/logo.svg +++ b/RTromso-logo-hex.svg @@ -27,13 +27,13 @@ inkscape:pagecheckerboard="0" inkscape:deskcolor="#d1d1d1" inkscape:document-units="mm" - inkscape:zoom="3.5233681" - inkscape:cx="113.38583" - inkscape:cy="113.38583" - inkscape:window-width="1920" - inkscape:window-height="1026" - inkscape:window-x="0" - inkscape:window-y="30" + inkscape:zoom="1.1667841" + inkscape:cx="496.23578" + inkscape:cy="218.12091" + inkscape:window-width="3840" + inkscape:window-height="2106" + inkscape:window-x="2160" + inkscape:window-y="1247" inkscape:window-maximized="1" inkscape:current-layer="layer1" /> - - - TROMS - R + + + + + + + + + - - - - - - The goal for this first meeting is to get to know each other, discuss what we want to get out of the group, and plan future meetings. - - For each meeting we will try to offer something for complete beginners but - also share some tool or technique that is useful for more experienced - coders. diff --git a/content/index/_index.md b/content/index/_index.md deleted file mode 100644 index ac36e06..0000000 --- a/content/index/_index.md +++ /dev/null @@ -1,2 +0,0 @@ -+++ -+++ diff --git a/content/index/description.md b/content/index/description.md deleted file mode 100644 index 6a621ad..0000000 --- a/content/index/description.md +++ /dev/null @@ -1,12 +0,0 @@ -+++ -+++ - -# RTromsø, the R user group a [UiT](https://uit.no) - -R is a programming language which is especially powerful for statistics, data -exploration, and visualization. It is open source and free to use, and has a -large and active community of users. - -**RTromsø** is a series of meet-ups and workshops for R users at UiT, the -Arctic University of Norway where we can share knowledge and experiences, and -together learn more about R. diff --git a/content/logo/logo.png b/content/logo/logo.png deleted file mode 100644 index feb2a8d..0000000 Binary files a/content/logo/logo.png and /dev/null differ diff --git a/content/resources.md b/content/resources.md deleted file mode 100644 index 4328199..0000000 --- a/content/resources.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -+++ - -## Resources - -Here we will collect: -- resources -- cheat sheets -- links to recommended books -- learning material diff --git a/events.qmd b/events.qmd new file mode 100644 index 0000000..8793c33 --- /dev/null +++ b/events.qmd @@ -0,0 +1,13 @@ +--- +title: "RTromsø Events" +--- + +Here is a list of previous and upcoming events coordinated by RTromsø: + +## Upcoming + +- [2024-05-07](2024-05-07.qmd)- R Help Session (11:00-12:30 at [SVHUM E0102](https://link.mazemap.com/bLl23M2U)) + +## Previous + +- [2024-04-17](2024-04-17.qmd)- First RTromsø user group meeting diff --git a/index.qmd b/index.qmd new file mode 100644 index 0000000..5fcc1bb --- /dev/null +++ b/index.qmd @@ -0,0 +1,19 @@ +--- +title: "RTromsø: the R user group a UiT" +--- + +::: {.column-margin} +![](RTromso-logo-hex.svg){fig-align="left"} +::: +R is a programming language which is especially powerful for statistics, data exploration, and visualization. It is open source and free to use, and has a large and active community of users. + +**RTromsø** is a series of meet-ups and workshops for R users at UiT, the Arctic University of Norway where we can share knowledge and experiences, and together learn more about R. + +- [Events](events.qmd) - Next event: (7. may, 11:00-12:30 at [SVHUM E0102](https://link.mazemap.com/ZGPh22t8)) + +- [Resources](resources.qmd) - A curated list of useful R videos, books and resources. + +If you would like to be added or removed from the RTromsø mailing list, please visit this [page](https://nettskjema.no/a/428883) + +---- +RTromsø is administered in coordination with the [Research Software Engineering](https://research-software.uit.no/) group at UiT. \ No newline at end of file diff --git a/resources.qmd b/resources.qmd new file mode 100644 index 0000000..a9d598e --- /dev/null +++ b/resources.qmd @@ -0,0 +1,54 @@ +--- +title: "Resources" +--- + +There are huge number of R resources and websites available online. Included below are links to some R resources which we like. Please let us know if there are more that should be included! + +## Books + +Here you will find a variety of R-related books, most with both online and print versions. + +### Learning R + +- [R 4 Data Science (2e)](https://r4ds.hadley.nz/) - Hadley Wickham, Mine Çetinkaya-Rundel, and Garrett Grolemund. +- [R Programming for Research](https://geanders.github.io/RProgrammingForResearch/) - Brooke Anderson, Rachel Severson, and Nicholas Good + - [YouTube Lectures](https://www.youtube.com/@brookeanderson6781/playlists) +- [Data wrangling, exploration, and analysis with R](https://stat545.com/) - Jenny Bryan + +### Statistics with R + +- [An Introduction to Statistical Learning with Applications in R (2e)](https://www.statlearning.com/) - Gareth James, Daniela Witten, Trevor Hastie, Robert Tibshirani + - Course: [StanfordOnline: Statistical Learning with R](https://www.edx.org/learn/statistics/stanford-university-statistical-learning) +- [Statistical Inference via Data Science: A ModernDive into R and the Tidyverse!](https://moderndive.com/) - Chester Ismay and Albert Y. Kim +- [Tidy Modeling with R](https://www.tmwr.org/) - Max Kuhn and Julia Silge +- [Applied Statistics Using R: A Guide for the Social Sciences](https://us.sagepub.com/en-us/nam/applied-statistics-using-r/book266647) - [Matthias Mittner](https://uit.no/ansatte/matthias.mittner) \@ UiT (*print only*) +- [Innføring i R for statistiske dataanalyser](https://www.universitetsforlaget.no/en/innforing-i-r-for-statistiske-dataanalyser) - [Matthias Mittner](https://uit.no/ansatte/matthias.mittner) \@ UiT (*print only*) +- [Introduction to Modern Statistics](https://openintro-ims2.netlify.app/) - Statistics textbook written using Quarto in RStudio ([source code on github](https://github.com/OpenIntroStat/ims)) +- [Beyond Multiple Linear Regression: *Applied Generalized Linear Models and Multilevel Models in R*](https://bookdown.org/roback/bookdown-BeyondMLR/) *-* Paul Roback and Julie Legler + +## R Resources: + +- [Data Science Learning Community](https://dslc.io) - tools and resources for data science, including R and Python. + + - Weekly data science book clubs - [Website](https://dslc.io/bookclubs.html) / [YouTube](https://www.youtube.com/@dslcvids) + + - [R Help Slack Channels](https://dslc.io/question_answering.html) + + - [TidyTuesday](https://github.com/rfordatascience/tidytuesday/blob/master/README.md) - Weekly real-world dataset analyzed by the community + +- [RStudio Education: Finding your way to R](https://education.rstudio.com/learn/) + + - [A Gentle Introduction to Tidy Statistics in R](https://posit.co/resources/videos/a-gentle-introduction-to-tidy-statistics-in-r/) - 1 hour video webinar by Thomas Mock + +- [R Cheatsheets](https://posit.co/resources/cheatsheets/) - Printable double-sided PDFs summarizing various topics and packages. + +- [Awesome R](https://github.com/qinwf/awesome-R) - A curated list of awesome R packages and tools. + +- [Posit Recipes](https://posit.cloud/learn/recipes) - A collection of R code snippets and instructions featuring up-to-date best practices for coding in R. + +## Interactive Tutorials + +For these sites, the introductory courses are usually free, while more advanced courses require payment. + +- [DataCamp](https://www.datacamp.com/category/r) +- [Codecademy](https://www.codecademy.com/catalog/language/r) diff --git a/rtromso-website.Rproj b/rtromso-website.Rproj new file mode 100644 index 0000000..8e3c2eb --- /dev/null +++ b/rtromso-website.Rproj @@ -0,0 +1,13 @@ +Version: 1.0 + +RestoreWorkspace: Default +SaveWorkspace: Default +AlwaysSaveHistory: Default + +EnableCodeIndexing: Yes +UseSpacesForTab: Yes +NumSpacesForTab: 2 +Encoding: UTF-8 + +RnwWeave: Sweave +LaTeX: pdfLaTeX diff --git a/sass/style.scss b/sass/style.scss deleted file mode 100644 index f044d02..0000000 --- a/sass/style.scss +++ /dev/null @@ -1,58 +0,0 @@ -// https://webaim.org/blog/wcag-2-0-and-link-colors/ -// https://github.com/uikit/uikit/blob/develop/src/scss/variables-theme.scss -$global-link-color: #3366dd; -$navbar-nav-item-color: #3366dd; -$navbar-nav-item-hover-color: #cc0099; -$iconnav-item-color: #3366dd; -$iconnav-item-hover-color: #cc0099; -$global-primary-background: #3366cc; -$global-secondary-background: #993366; -$base-code-color: #cc0099; -$text-meta-color: #666666; -$table-header-cell-color: #666666; - -// https://getuikit.com/docs/sass -@import "../uikit/src/scss/variables-theme.scss"; -@import "../uikit/src/scss/mixins-theme.scss"; -@import "../uikit/src/scss/uikit-theme.scss"; - -// Roboto is licensed under Apache License, Version 2.0 -@font-face { - font-family: 'Roboto'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(Roboto.ttf) format('truetype'); -} - -* { - font-family: 'Roboto', sans-serif; -} - -.markdown ul { - @extend .uk-list; - @extend .uk-list-square; - -} - -$heading-color: #404040; - -.markdown h1 { - @extend .uk-h2; - color: $heading-color; -} - -.markdown h2 { - @extend .uk-h3; - color: $heading-color; -} - -.markdown h3 { - @extend .uk-h4; - color: $heading-color; -} - -pre mark { - display: block; - color: #cc0099; -} diff --git a/static/Roboto.ttf b/static/Roboto.ttf deleted file mode 100644 index 3033308..0000000 Binary files a/static/Roboto.ttf and /dev/null differ diff --git a/static/img/favicon.ico b/static/img/favicon.ico deleted file mode 100644 index 1bb1d3d..0000000 Binary files a/static/img/favicon.ico and /dev/null differ diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..2ddf50c --- /dev/null +++ b/styles.css @@ -0,0 +1 @@ +/* css styles */ diff --git a/templates/404.html b/templates/404.html deleted file mode 100644 index 0523f45..0000000 --- a/templates/404.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -

404, page not found

- -

- This is not the page you are looking for ... return back to the - index page? -

-{% endblock content %} diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index 5f6afe2..0000000 --- a/templates/base.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - {{ config.title }} - - - - - - - - - - - - - -
- - {% include "navigation.html" %} - -
- {% block content %} - {% endblock content %} -
- -
- - {% include "footer.html" %} - -
- - diff --git a/templates/footer.html b/templates/footer.html deleted file mode 100644 index 39e1cb0..0000000 --- a/templates/footer.html +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index f0c66a6..0000000 --- a/templates/index.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -
-
- {% set logo = resize_image(path="logo/logo.png", width=200, op="fit_width") %} - RTromsø logo -
- -
- {% set md = get_page(path="index/description.md") %} - {{ md.content | safe }} - - {{ section.content | safe }} -
-
-{% endblock content %} diff --git a/templates/macros.html b/templates/macros.html deleted file mode 100644 index c12c700..0000000 --- a/templates/macros.html +++ /dev/null @@ -1,20 +0,0 @@ -{% macro toc(page) %} - {% if page.toc %} -
    - {% for h1 in page.toc %} -
  • - {{ h1.title }} - {% if h1.children %} - - {% endif %} -
  • - {% endfor %} -
- {% endif %} -{% endmacro toc %} diff --git a/templates/navigation.html b/templates/navigation.html deleted file mode 100644 index 231265c..0000000 --- a/templates/navigation.html +++ /dev/null @@ -1,28 +0,0 @@ - - -
-
-
    - {% for item in config.extra.navigation %} - {% if item.target is starting_with("http") %} -
  • {{ item.name }}
  • - {% else %} -
  • {{ item.name }}
  • - {% endif %} - {% endfor %} -
-
-
diff --git a/templates/page.html b/templates/page.html deleted file mode 100644 index a4788e5..0000000 --- a/templates/page.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - {{ page.content | safe }} -{% endblock content %} diff --git a/templates/section.html b/templates/section.html deleted file mode 100644 index cc775fa..0000000 --- a/templates/section.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - {{ section.content | safe }} -{% endblock content %} diff --git a/templates/shortcodes/div.html b/templates/shortcodes/div.html deleted file mode 100644 index 45a8409..0000000 --- a/templates/shortcodes/div.html +++ /dev/null @@ -1 +0,0 @@ -
diff --git a/templates/shortcodes/enddiv.html b/templates/shortcodes/enddiv.html deleted file mode 100644 index 04f5b84..0000000 --- a/templates/shortcodes/enddiv.html +++ /dev/null @@ -1 +0,0 @@ -
diff --git a/uikit b/uikit deleted file mode 160000 index 6ac30f5..0000000 --- a/uikit +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6ac30f5c89cb5e5781749fecd7e7250a942b5251 diff --git a/update-uikit.sh b/update-uikit.sh deleted file mode 100755 index 624768d..0000000 --- a/update-uikit.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash - -# safe bash settings -set -euo pipefail - -cd uikit -git checkout main -git pull origin main - -latest_tag=$(git describe --tags --abbrev=0) - -cd .. -git add uikit - -old_version=$(grep -oP "uikit@(\d+\.\d+\.\d+)" templates/base.html | head -n 1) -new_version="uikit@${latest_tag#v}" - -sed -i "s/${old_version}/${new_version}/g" templates/base.html