From 303d1fb5beefb03dda3e0f07e5e39a6fc5a0a088 Mon Sep 17 00:00:00 2001 From: robinlovelace Date: Mon, 22 Jul 2024 23:48:16 +0100 Subject: [PATCH] Add schedule, close #6 --- README.qmd | 37 ++--- renv.lock | 429 +++++++++++++++++++++++++++++++++++++++++++++++++++ schedule.qmd | 137 ++-------------- 3 files changed, 453 insertions(+), 150 deletions(-) diff --git a/README.qmd b/README.qmd index fa54c9b..a05ab91 100644 --- a/README.qmd +++ b/README.qmd @@ -2,31 +2,24 @@ format: gfm --- -# Quarto course website template - -A template for course websites developed with [Quarto](https://quarto.org) and hosted on GitHub. - -This is all configured so you only need to edit the source files in Quarto (.qmd). The website is generated and hosted automatically by GitHub. - -Example website: https://pakillo.github.io/quarto-course-website-template (see also https://github.com/rstudio-conf-2022/teach-ds-course-website for a more developed example). - - -## Using this template - -1. Click on green button "Use this template" -> "Create a new repository" +```{r} +#| eval: false +# init and snapshot renv: +renv::init() +renv::snapshot() +``` -2. Choose a name for your repository +```{r} +#| eval: false +# Update packages after development work as follows: +renv::snapshot() # then select "2" to update the lockfile +``` -3. Important: check 'Include all branches' when creating the repository (because we will need the `gh-pages` branch to host the website). + diff --git a/renv.lock b/renv.lock index 670c004..4ecefae 100644 --- a/renv.lock +++ b/renv.lock @@ -9,6 +9,358 @@ ] }, "Packages": { + "DT": { + "Package": "DT", + "Version": "0.33", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "crosstalk", + "htmltools", + "htmlwidgets", + "httpuv", + "jquerylib", + "jsonlite", + "magrittr", + "promises" + ], + "Hash": "64ff3427f559ce3f2597a4fe13255cb6" + }, + "R6": { + "Package": "R6", + "Version": "2.5.1", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R" + ], + "Hash": "470851b6d5d0ac559e9d01bb352b4021" + }, + "Rcpp": { + "Package": "Rcpp", + "Version": "1.0.13", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "methods", + "utils" + ], + "Hash": "f27411eb6d9c3dada5edd444b8416675" + }, + "base64enc": { + "Package": "base64enc", + "Version": "0.1-3", + "Source": "Repository", + "Repository": "RSPM", + "Requirements": [ + "R" + ], + "Hash": "543776ae6848fde2f48ff3816d0628bc" + }, + "bslib": { + "Package": "bslib", + "Version": "0.7.0", + "Source": "Repository", + "Repository": "RSPM", + "Requirements": [ + "R", + "base64enc", + "cachem", + "fastmap", + "grDevices", + "htmltools", + "jquerylib", + "jsonlite", + "lifecycle", + "memoise", + "mime", + "rlang", + "sass" + ], + "Hash": "8644cc53f43828f19133548195d7e59e" + }, + "cachem": { + "Package": "cachem", + "Version": "1.1.0", + "Source": "Repository", + "Repository": "RSPM", + "Requirements": [ + "fastmap", + "rlang" + ], + "Hash": "cd9a672193789068eb5a2aad65a0dedf" + }, + "cli": { + "Package": "cli", + "Version": "3.6.3", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "utils" + ], + "Hash": "b21916dd77a27642b447374a5d30ecf3" + }, + "crosstalk": { + "Package": "crosstalk", + "Version": "1.2.1", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R6", + "htmltools", + "jsonlite", + "lazyeval" + ], + "Hash": "ab12c7b080a57475248a30f4db6298c0" + }, + "digest": { + "Package": "digest", + "Version": "0.6.36", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "utils" + ], + "Hash": "fd6824ad91ede64151e93af67df6376b" + }, + "evaluate": { + "Package": "evaluate", + "Version": "0.24.0", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "methods" + ], + "Hash": "a1066cbc05caee9a4bf6d90f194ff4da" + }, + "fastmap": { + "Package": "fastmap", + "Version": "1.2.0", + "Source": "Repository", + "Repository": "RSPM", + "Hash": "aa5e1cd11c2d15497494c5292d7ffcc8" + }, + "fontawesome": { + "Package": "fontawesome", + "Version": "0.5.2", + "Source": "Repository", + "Repository": "RSPM", + "Requirements": [ + "R", + "htmltools", + "rlang" + ], + "Hash": "c2efdd5f0bcd1ea861c2d4e2a883a67d" + }, + "fs": { + "Package": "fs", + "Version": "1.6.4", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "methods" + ], + "Hash": "15aeb8c27f5ea5161f9f6a641fafd93a" + }, + "glue": { + "Package": "glue", + "Version": "1.7.0", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "methods" + ], + "Hash": "e0b3a53876554bd45879e596cdb10a52" + }, + "highr": { + "Package": "highr", + "Version": "0.11", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "xfun" + ], + "Hash": "d65ba49117ca223614f71b60d85b8ab7" + }, + "htmltools": { + "Package": "htmltools", + "Version": "0.5.8.1", + "Source": "Repository", + "Repository": "RSPM", + "Requirements": [ + "R", + "base64enc", + "digest", + "fastmap", + "grDevices", + "rlang", + "utils" + ], + "Hash": "81d371a9cc60640e74e4ab6ac46dcedc" + }, + "htmlwidgets": { + "Package": "htmlwidgets", + "Version": "1.6.4", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "grDevices", + "htmltools", + "jsonlite", + "knitr", + "rmarkdown", + "yaml" + ], + "Hash": "04291cc45198225444a397606810ac37" + }, + "httpuv": { + "Package": "httpuv", + "Version": "1.6.15", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "R6", + "Rcpp", + "later", + "promises", + "utils" + ], + "Hash": "d55aa087c47a63ead0f6fc10f8fa1ee0" + }, + "jquerylib": { + "Package": "jquerylib", + "Version": "0.1.4", + "Source": "Repository", + "Repository": "RSPM", + "Requirements": [ + "htmltools" + ], + "Hash": "5aab57a3bd297eee1c1d862735972182" + }, + "jsonlite": { + "Package": "jsonlite", + "Version": "1.8.8", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "methods" + ], + "Hash": "e1b9c55281c5adc4dd113652d9e26768" + }, + "knitr": { + "Package": "knitr", + "Version": "1.48", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "evaluate", + "highr", + "methods", + "tools", + "xfun", + "yaml" + ], + "Hash": "acf380f300c721da9fde7df115a5f86f" + }, + "later": { + "Package": "later", + "Version": "1.3.2", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "Rcpp", + "rlang" + ], + "Hash": "a3e051d405326b8b0012377434c62b37" + }, + "lazyeval": { + "Package": "lazyeval", + "Version": "0.2.2", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R" + ], + "Hash": "d908914ae53b04d4c0c0fd72ecc35370" + }, + "lifecycle": { + "Package": "lifecycle", + "Version": "1.0.4", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "cli", + "glue", + "rlang" + ], + "Hash": "b8552d117e1b808b09a832f589b79035" + }, + "magrittr": { + "Package": "magrittr", + "Version": "2.0.3", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R" + ], + "Hash": "7ce2733a9826b3aeb1775d56fd305472" + }, + "memoise": { + "Package": "memoise", + "Version": "2.0.1", + "Source": "Repository", + "Repository": "RSPM", + "Requirements": [ + "cachem", + "rlang" + ], + "Hash": "e2817ccf4a065c5d9d7f2cfbe7c1d78c" + }, + "mime": { + "Package": "mime", + "Version": "0.12", + "Source": "Repository", + "Repository": "RSPM", + "Requirements": [ + "tools" + ], + "Hash": "18e9c28c1d3ca1560ce30658b22ce104" + }, + "promises": { + "Package": "promises", + "Version": "1.3.0", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R6", + "Rcpp", + "fastmap", + "later", + "magrittr", + "rlang", + "stats" + ], + "Hash": "434cd5388a3979e74be5c219bcd6e77d" + }, + "rappdirs": { + "Package": "rappdirs", + "Version": "0.3.3", + "Source": "Repository", + "Repository": "RSPM", + "Requirements": [ + "R" + ], + "Hash": "5e3c5dc0b071b21fa128676560dbe94d" + }, "renv": { "Package": "renv", "Version": "1.0.3", @@ -18,6 +370,83 @@ "utils" ], "Hash": "41b847654f567341725473431dd0d5ab" + }, + "rlang": { + "Package": "rlang", + "Version": "1.1.4", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "utils" + ], + "Hash": "3eec01f8b1dee337674b2e34ab1f9bc1" + }, + "rmarkdown": { + "Package": "rmarkdown", + "Version": "2.27", + "Source": "Repository", + "Repository": "RSPM", + "Requirements": [ + "R", + "bslib", + "evaluate", + "fontawesome", + "htmltools", + "jquerylib", + "jsonlite", + "knitr", + "methods", + "tinytex", + "tools", + "utils", + "xfun", + "yaml" + ], + "Hash": "27f9502e1cdbfa195f94e03b0f517484" + }, + "sass": { + "Package": "sass", + "Version": "0.4.9", + "Source": "Repository", + "Repository": "RSPM", + "Requirements": [ + "R6", + "fs", + "htmltools", + "rappdirs", + "rlang" + ], + "Hash": "d53dbfddf695303ea4ad66f86e99b95d" + }, + "tinytex": { + "Package": "tinytex", + "Version": "0.52", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "xfun" + ], + "Hash": "cfbad971a71f0e27cec22e544a08bc3b" + }, + "xfun": { + "Package": "xfun", + "Version": "0.46", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "grDevices", + "stats", + "tools" + ], + "Hash": "00ce32f398db0415dde61abfef11300c" + }, + "yaml": { + "Package": "yaml", + "Version": "2.3.9", + "Source": "Repository", + "Repository": "CRAN", + "Hash": "9cb28d11799d93c953f852083d55ee9e" } } } diff --git a/schedule.qmd b/schedule.qmd index d007837..f85d8fb 100644 --- a/schedule.qmd +++ b/schedule.qmd @@ -1,132 +1,13 @@ --- title: "Schedule" +execute: + echo: false --- -# Tools and and Skills for Reproducible Transport Planning - -# Day 1 - -- 09:30-10:00 Introduction - - Welcome and introductions (participatory) - - Definitions and motivations - - Course structure and objectives -- 10:00-11:00 Development environments, system commands, and version control - - Introduction to VS Code, RStudio, and Jupyter - - Key features and extensions of VS Code - - The system shell and basic commands - - Introduction to Git and GitHub - - The `gh` command-line tool -- 11:00-11:15 Break -- 11:15-12:30 Sharing code and data - - Navigating GitHub - - Your profile and repositories - - Creating and managing repositories - - Cloning repositories - - Making changes and committing - - Pushing changes to GitHub - - Collaboration with GitHub - - Branches and pull requests - - Merging changes - - Resolving conflicts -- 12:30-13:30 Lunch -- 13:30-15:00 Reproducible papers and documentation with Quarto - - Introduction to Quarto - - Markdown, LaTeX, and file formats - - Code chunks and settings - - Publishing your work -- 15:00-15:15 Break -- 15:15-17:00 Cross-references and citations with Quarto - - Cross-references - - Citations - - Bibliographies - - Tables and figures - -# Day 2 - -- 09:00-10:30 Drafting a reproducible paper - - Recap of Day 1 - - Topic selection - - Individual work on paper drafts -- 10:30-10:45 Break -- 10:45-12:00 Generating reproducible publication-quality visualisations - - An introduction to visualisation and web application development for transport planning - - A deep dive into ggplot2 - - Practical: creating a visualisation for your paper - -- 12:00-13:00 Lunch -- 13:00-14:30 Editing other people's work - - Reviewing and commenting on papers - - Making changes and submitting Pull Requests - - Controlled chaos: choose a paper and make some changes! -- 14:30-14:45 Break -- 14:45-16:00 Working on papers - - Practical session bringing together elements from the course -- 16:00-17:00 Presentations and wrap-up - - -# Data Science and Digital Tools for Transport Planning - -# Day 1 - -- 09:30-10:00 Introduction - - Welcome and introductions (participatory) - - Definitions and motivations - - Course structure and objectives -- 10:00-11:00 Development environments, system commands, and version control - - Introduction to VS Code, RStudio, and Jupyter - - Key features and extensions of VS Code - - The system shell and basic commands - - Introduction to Git and GitHub - - The `gh` command-line tool -- 11:00-11:15 Break -- 11:15-12:30 Sharing code and data - - Navigating GitHub - - Your profile and repositories - - Creating and managing repositories - - Cloning repositories - - Making changes and committing - - Pushing changes to GitHub - - Collaboration with GitHub - - Branches and pull requests - - Merging changes - - Resolving conflicts -- 12:30-13:30 Lunch -- 13:30-15:00 Data visualisation - - Univariate plots - - Bivariate plots - - Multivariate plots and facets - - Interactive visualisations - - Interactive maps -- 15:00-15:15 Break -- 15:15-17:00 Transport Planning Challenge 1 - - Introduction to challenge datasets - - Deciding on a topic and questions - - Practical: working on the challenge - -# Day 2 - -- 09:00-10:30 Data manipulation - - Key verbs: filter, select, mutate, summarise - - Joins: inner, left, right, full - - Spatial data operations - - Spatial subsetting - - Spatial joins - - Spatial aggregation -- 10:30-10:45 Break -- 10:45-12:00 Web application development - - Static vs dynamic web applications - - Practical introduction to Shiny for R and Python - - (Optional): Front-end development -- 12:00-13:00 Lunch -- 13:00-14:30 Transport Planning Challenge 2 - - Discussion of datasets from Challenge 1 - - Deciding on a topic and questions - - Practical: working on the challenge -- 14:30-14:45 Break -- 14:45-16:30 Transport Planning Challenge 2: continued - - Practical: working on the challenge -- 16:30-17:00 Presentations and wrap-up - +```{r} +url = "https://github.com/ITSLeeds/TDS/raw/master/timetable.csv" +timetable = read.csv(url) +# Add Materials column +timetable$Materials = "1" +DT::datatable(timetable, rownames = FALSE, escape = FALSE) +```