From aa2adc9630a4e2666f8ac47f537bfce44b1ef59c Mon Sep 17 00:00:00 2001 From: rmccreath Date: Fri, 26 Apr 2024 11:15:21 +0100 Subject: [PATCH] Add renv course and reorder with new build --- assets/courses.json | 106 +++++++++++++++--------------- docs/404.html | 4 +- docs/_nuxt/016600b.js | 1 - docs/_nuxt/32f6e8d.js | 1 + docs/_nuxt/6382320.js | 1 - docs/_nuxt/740b4c6.js | 1 + docs/_nuxt/a798dc2.js | 1 + docs/_nuxt/c0eca1f.js | 1 - docs/_nuxt/cf68196.js | 1 - docs/_nuxt/d38384a.js | 1 + docs/_nuxt/e09ff84.js | 1 + docs/_nuxt/fc3e34a.js | 1 - docs/admin/index.html | 4 +- docs/develop/index.html | 4 +- docs/develop/r-pathway/index.html | 4 +- docs/docs/index.html | 4 +- docs/index.html | 4 +- docs/social/index.html | 4 +- 18 files changed, 72 insertions(+), 72 deletions(-) delete mode 100644 docs/_nuxt/016600b.js create mode 100644 docs/_nuxt/32f6e8d.js delete mode 100644 docs/_nuxt/6382320.js create mode 100644 docs/_nuxt/740b4c6.js create mode 100644 docs/_nuxt/a798dc2.js delete mode 100644 docs/_nuxt/c0eca1f.js delete mode 100644 docs/_nuxt/cf68196.js create mode 100644 docs/_nuxt/d38384a.js create mode 100644 docs/_nuxt/e09ff84.js delete mode 100644 docs/_nuxt/fc3e34a.js diff --git a/assets/courses.json b/assets/courses.json index 630dc9b..85b5177 100644 --- a/assets/courses.json +++ b/assets/courses.json @@ -76,58 +76,39 @@ "related": [] }, { - "title": "PHS Methods", - "slug": "phs-methods", - "description": "The first step in taking R further. Learn about the `phsmethods` package created by and for staff in PHS.", - "overview": "", - "link": "https://scotland.shinyapps.io/phs-learnr-phsmethods/", + "title": "SQL in R", + "slug": "sql-in-r", + "description": "Learn about writing and using SQL commands in R.", + "overview": "Using SQL is is applicable to so many roles, it's almost inevitable that you'll come across it at some stage. However, this could also mean that you inherit pre-written SQL or be dealing with massive quantities of data. Using SQL doesn't need to be intimidating but it's going to make your life a lot easier if you know what you're doing and how to do it efficiently. This course is a complete introduction to SQL from the foundations up, you can use the first few chapters to learn about SQL and leave it there. However, the course continues and shows how that SQL code can be integrated into R, making your coding experience much more seamless. The course concludes with a taster for using an R package, dbplyr. This package allows you to use familiar R syntax (if you're familiar with the Tidyverse) rather than using SQL at all.", + "link": "https://scotland.shinyapps.io/phs-learnr-sql/", "f2f": "", - "online": "https://scotland.shinyapps.io/phs-learnr-phsmethods/", + "online": "https://scotland.shinyapps.io/phs-learnr-sql/", "image": "", "type": ["Online Course"], "technology": "R", "level": "2", - "packages": ["base", "phsmethods"], - "tags": ["r"], + "packages": ["base", "odbc", "dbplyr"], + "tags": ["r", "sql"], "prereqs": ["Introduction to R"], "timetable": "", "materials": "", "related": [] }, { - "title": "Introduction to Open Data", - "slug": "introduction-to-open-data", - "description": "Learn about open data, what it is, why we use it, and how to interact with our open data using R.", - "overview": "Open data is the name for publicly released data which is made freely available to everyone to use and reuse in any way they like. With open data, anyone is able to make use of its potential: improving, innovating, and making better decisions. In this course, we provide a theoretical background of open data, building on PHS practices, and then getting practical with some coding examples in R. ", - "link": "https://scotland.shinyapps.io/phs-learnr-opendata", + "title": "Reproducible Environments in R", + "slug": "reproducible-environments-in-r", + "description": "Learn about creating and using reproducible environments in R.", + "overview": "This course is a complete introduction to creating and using reproducible environments in R, using the `{renv}` package. It covers reproducibility and the basics of working with environments. The course continues and shows how environments are managed with code, all integrated into R, making your coding experience and collaboration much more seamless. This will be particularly useful for adopting RAP principles, or ensuring the full pipeline is managed within R.", + "link": "https://scotland.shinyapps.io/phs-learnr-renv", "f2f": "", - "online": "https://scotland.shinyapps.io/phs-learnr-opendata", + "online": "https://scotland.shinyapps.io/phs-learnr-renv", "image": "", "type": ["Online Course"], "technology": "R", "level": "2", - "packages": ["base", "ckanr"], - "tags": ["r"], - "prereqs": ["Introduction to R"], - "timetable": "", - "materials": "", - "related": [] - }, - { - "title": "SPSS to R", - "slug": "spss-to-r", - "description": "A companion to the Intro to R course for SPSS users, understanding the differences and how to start translating SPSS to R.", - "overview": "While not repeating the content of the Introduction to R course, this course attempts to support existing SPSS users to transition to R. The course follows the same structure to allow you to compare and see how the code varies between the different technologies.", - "link": "https://scotland.shinyapps.io/phs-learnr-spsstor/", - "f2f": "", - "online": "https://scotland.shinyapps.io/phs-learnr-spsstor/", - "image": "", - "type": ["Online Course"], - "technology": "R", - "level": "1", - "packages": ["base"], - "tags": ["r"], - "prereqs": ["Introduction to R"], + "packages": ["base", "renv"], + "tags": ["r", "renv"], + "prereqs": ["Introduction to R", "Introduction to Git"], "timetable": "", "materials": "", "related": [] @@ -152,39 +133,39 @@ "related": [] }, { - "title": "SQL in R", - "slug": "sql-in-r", - "description": "Learn about writing and using SQL commands in R.", - "overview": "Using SQL is is applicable to so many roles, it's almost inevitable that you'll come across it at some stage. However, this could also mean that you inherit pre-written SQL or be dealing with massive quantities of data. Using SQL doesn't need to be intimidating but it's going to make your life a lot easier if you know what you're doing and how to do it efficiently. This course is a complete introduction to SQL from the foundations up, you can use the first few chapters to learn about SQL and leave it there. However, the course continues and shows how that SQL code can be integrated into R, making your coding experience much more seamless. The course concludes with a taster for using an R package, dbplyr. This package allows you to use familiar R syntax (if you're familiar with the Tidyverse) rather than using SQL at all.", - "link": "https://scotland.shinyapps.io/phs-learnr-sql/", + "title": "PHS Methods", + "slug": "phs-methods", + "description": "The first step in taking R further. Learn about the `phsmethods` package created by and for staff in PHS.", + "overview": "", + "link": "https://scotland.shinyapps.io/phs-learnr-phsmethods/", "f2f": "", - "online": "https://scotland.shinyapps.io/phs-learnr-sql/", + "online": "https://scotland.shinyapps.io/phs-learnr-phsmethods/", "image": "", "type": ["Online Course"], "technology": "R", "level": "2", - "packages": ["base", "odbc", "dbplyr"], - "tags": ["r", "sql"], + "packages": ["base", "phsmethods"], + "tags": ["r"], "prereqs": ["Introduction to R"], "timetable": "", "materials": "", "related": [] }, { - "title": "Reproducible Environments in R", - "slug": "reproducible-environments-in-r", - "description": "Learn about creating and using reproducible environments in R.", - "overview": "This course is a complete introduction to creating and using reproducible environments in R, using the `{renv}` package. It covers reproducibility and the basics of working with environments. The course continues and shows how environments are managed with code, all integrated into R, making your coding experience and collaboration much more seamless. This will be particularly useful for adopting RAP principles, or ensuring the full pipeline is managed within R.", - "link": "", + "title": "Introduction to Open Data", + "slug": "introduction-to-open-data", + "description": "Learn about open data, what it is, why we use it, and how to interact with our open data using R.", + "overview": "Open data is the name for publicly released data which is made freely available to everyone to use and reuse in any way they like. With open data, anyone is able to make use of its potential: improving, innovating, and making better decisions. In this course, we provide a theoretical background of open data, building on PHS practices, and then getting practical with some coding examples in R. ", + "link": "https://scotland.shinyapps.io/phs-learnr-opendata", "f2f": "", - "online": "", + "online": "https://scotland.shinyapps.io/phs-learnr-opendata", "image": "", "type": ["Online Course"], "technology": "R", "level": "2", - "packages": ["base", "renv"], - "tags": ["r", "renv"], - "prereqs": ["Introduction to R", "Introduction to Git"], + "packages": ["base", "ckanr"], + "tags": ["r"], + "prereqs": ["Introduction to R"], "timetable": "", "materials": "", "related": [] @@ -208,6 +189,25 @@ "materials": "", "related": [] }, + { + "title": "SPSS to R", + "slug": "spss-to-r", + "description": "A companion to the Intro to R course for SPSS users, understanding the differences and how to start translating SPSS to R.", + "overview": "While not repeating the content of the Introduction to R course, this course attempts to support existing SPSS users to transition to R. The course follows the same structure to allow you to compare and see how the code varies between the different technologies.", + "link": "https://scotland.shinyapps.io/phs-learnr-spsstor/", + "f2f": "", + "online": "https://scotland.shinyapps.io/phs-learnr-spsstor/", + "image": "", + "type": ["Online Course"], + "technology": "R", + "level": "1", + "packages": ["base"], + "tags": ["r"], + "prereqs": ["Introduction to R"], + "timetable": "", + "materials": "", + "related": [] + }, { "title": "Introduction to Python", "slug": "introduction-to-python", diff --git a/docs/404.html b/docs/404.html index 52cce92..e665e9f 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1,9 +1,9 @@ - PHS Data Science - Knowledge Base + PHS Data Science - Knowledge Base
Loading...
- + diff --git a/docs/_nuxt/016600b.js b/docs/_nuxt/016600b.js deleted file mode 100644 index 1a8650d..0000000 --- a/docs/_nuxt/016600b.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{247:function(e){e.exports=JSON.parse('[{"title":"Introduction to R","slug":"introduction-to-r","description":"A beginner\'s course for learning R from the basics.","overview":"In Introduction to R, you\'re given a brief introduction to programming before building the foundations in R. Throughout the course, you will build from these foundations and master the basics of this widely used open source language, including data structures, flow, exploration, and wrangling. This is all supported with live coding and quizzes so you can be sure you know what you\'re doing. \\n\\nWhile the use of R continues to grow globally, PHS continues to secure the infrastructure and tools for everyone to make the best use of this technology. This course is suitable for everyone new to R and provides the knowledge to build topic specific skills.","link":"https://scotland.shinyapps.io/phs-learnr-intro/","f2f":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmmiLaHlezqJOh-fBWH8cGyhUQUlQMVNZMk1aTjdCMllRTFJNWkZKTFNSMy4u","online":"https://scotland.shinyapps.io/phs-learnr-intro/","image":"","type":["In-Person Course","Online Course"],"technology":"R","level":"1","packages":["base"],"tags":["r"],"prereqs":"none","timetable":"3 half days (plus a pre-course check)","materials":"https://github.com/Public-Health-Scotland/learnr-intro","related":[]},{"title":"Introduction to Git","slug":"introduction-to-git","description":"A beginner\'s course for learning git (including GitHub and Gitea) from the basics.","overview":"In Introduction to Git, there is no assumption of any background in Git, or even version control. Instead, this introduces you to version control topics and provides a deeper understanding of how things work, all from the perspective of an R user. The practical elements of the course utilise the user interface on RStudio so, while there\'s no prerequisite on R, you should be familiar with the RStudio software. \\n\\nVersion control is a powerful tool across software engineering disciplines. At a high level, it allows you to keep track of changes, undoing them when necessary, and collaborating at scale. This course introduces you to Git as a version control tool (arguably the most popular), GitHub and Gitea. You\'ll learn about repositories, commits, branches, and pull requests.","link":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmvpRU_LHr_5KrgEqWKwVEvJUOTdKTjRKMUZYUVlEM0E2NE9GQkdOVjBESCQlQCN0PWcu&embed=true","f2f":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmvpRU_LHr_5KrgEqWKwVEvJUOTdKTjRKMUZYUVlEM0E2NE9GQkdOVjBESCQlQCN0PWcu","online":"","image":"","type":["In-Person Course"],"technology":"Git","level":"1","packages":[],"tags":["git"],"prereqs":"none","timetable":"1 half day (plus both a pre-course check and post-course drop-in)","materials":"https://github.com/Public-Health-Scotland/learn-git","related":["R","Python"]},{"title":"Data Visualisation in R","slug":"data-visualisation-in-r","description":"Learn about data viz using R. This course has a focus on ggplot2 but includes an introduction to plotly.","overview":"Data visualisation is useful across all roles that interact with data, it\'s important that these are meaningful and visually appealing too. Building from the Introduction to R course, this course covers the structure on which visualisations are built and then, more practically, how to actually build them. \\n\\nThe ggplot2 package is the primary R package that is used across the organisation and in this course. However, this package is built on the same underlying structure as the plotly package. When things need to get interactive on your visualisations, you\'ll need to use plotly.","link":"https://scotland.shinyapps.io/phs-learnr-dataviz/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-dataviz/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","ggplot2","plotly"],"tags":["r","viz"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Introduction to R Markdown","slug":"introduction-to-r-markdown","description":"Learn about building reports and other functionality of R Markdown.","overview":"R Markdown is used to create outputs such as PDFs, HTML, or even a Shiny app. These are generated from the R Markdown file which simply lays out the document with a minimal and easy to use syntax. You can also include executable code chunks, allowing you to produce visualisations and analytical outputs. R Markdown is already widely used across the organisation, with templates available for publications, presentations, and even training course apps. \\n\\nIn this course you\'ll learn the foundations and practicalities of using R Markdown. While there\'s enough theory to understand how things work, there\'s practical exercises to get familiar and embed your learning. You\'ll need to do most of the practical exercises on RStudio (desktop or server) as the training app can\'t show the outputs.","link":"https://scotland.shinyapps.io/phs-learnr-rmarkdown/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-rmarkdown/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","rmarkdown"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"PHS Methods","slug":"phs-methods","description":"The first step in taking R further. Learn about the `phsmethods` package created by and for staff in PHS.","overview":"","link":"https://scotland.shinyapps.io/phs-learnr-phsmethods/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-phsmethods/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","phsmethods"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Introduction to Open Data","slug":"introduction-to-open-data","description":"Learn about open data, what it is, why we use it, and how to interact with our open data using R.","overview":"Open data is the name for publicly released data which is made freely available to everyone to use and reuse in any way they like. With open data, anyone is able to make use of its potential: improving, innovating, and making better decisions. In this course, we provide a theoretical background of open data, building on PHS practices, and then getting practical with some coding examples in R. ","link":"https://scotland.shinyapps.io/phs-learnr-opendata","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-opendata","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","ckanr"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"SPSS to R","slug":"spss-to-r","description":"A companion to the Intro to R course for SPSS users, understanding the differences and how to start translating SPSS to R.","overview":"While not repeating the content of the Introduction to R course, this course attempts to support existing SPSS users to transition to R. The course follows the same structure to allow you to compare and see how the code varies between the different technologies.","link":"https://scotland.shinyapps.io/phs-learnr-spsstor/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-spsstor/","image":"","type":["Online Course"],"technology":"R","level":"1","packages":["base"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"R Shiny","slug":"r-shiny","description":"Learn how to develop web apps and dashboards using R Shiny.","overview":"R Shiny is an R package that allows you to develop interactive web apps. The use of R Shiny is expansive and flexible, with the ability to integrate with R Markdown and other tools. With an element of web development practices, the course builds the knowledge of Shiny through practical exercises but is thorough enough to cover how each component works. In this course you\'ll learn how a complete R shiny comes together, from forming your data, developing user interfaces with interactive data visualisations that conform to PHS standards, right through to deploying for others to use on the web.","link":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmibxHi_yzZ9Pvduh8IqoF_5UMk9RVVBZU0ExWlUwUFdMMjI4VFNVRTRTUSQlQCN0PWcu","f2f":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmibxHi_yzZ9Pvduh8IqoF_5UMk9RVVBZU0ExWlUwUFdMMjI4VFNVRTRTUSQlQCN0PWcu","online":"","image":"","type":["In-Person Course"],"technology":"R","level":"3","packages":["base","shiny"],"tags":["r"],"prereqs":["Introduction to R","Data Visualisation in R"],"timetable":"3 days (plus a pre-course check)","materials":"https://github.com/Public-Health-Scotland/RShiny-training","related":[]},{"title":"SQL in R","slug":"sql-in-r","description":"Learn about writing and using SQL commands in R.","overview":"Using SQL is is applicable to so many roles, it\'s almost inevitable that you\'ll come across it at some stage. However, this could also mean that you inherit pre-written SQL or be dealing with massive quantities of data. Using SQL doesn\'t need to be intimidating but it\'s going to make your life a lot easier if you know what you\'re doing and how to do it efficiently. This course is a complete introduction to SQL from the foundations up, you can use the first few chapters to learn about SQL and leave it there. However, the course continues and shows how that SQL code can be integrated into R, making your coding experience much more seamless. The course concludes with a taster for using an R package, dbplyr. This package allows you to use familiar R syntax (if you\'re familiar with the Tidyverse) rather than using SQL at all.","link":"https://scotland.shinyapps.io/phs-learnr-sql/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-sql/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","odbc","dbplyr"],"tags":["r","sql"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Reproducible Environments in R","slug":"reproducible-environments-in-r","description":"Learn about creating and using reproducible environments in R.","overview":"This course is a complete introduction to creating and using reproducible environments in R, using the `{renv}` package. It covers reproducibility and the basics of working with environments. The course continues and shows how environments are managed with code, all integrated into R, making your coding experience and collaboration much more seamless. This will be particularly useful for adopting RAP principles, or ensuring the full pipeline is managed within R.","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","renv"],"tags":["r","renv"],"prereqs":["Introduction to R","Introduction to Git"],"timetable":"","materials":"","related":[]},{"title":"OpenXLSX","slug":"openxlsx","description":"Learn about the openxlsx package to work with Excel files within R.","overview":"The openxlsx package is a great way to work with Excel files within R. It allows you to read, write, and modify Excel files, and is a great alternative to the readxl and writexl packages. This course is a complete introduction to the openxlsx package, from the foundations up. It covers the basics of working with Excel files, including reading, writing, and modifying data. It also covers some more advanced topics, such as working with multiple worksheets, formatting, and using functions to automate tasks. This course is designed to be a complete introduction to the openxlsx package, so you can use the first few chapters to learn about the package and leave it there. However, the course continues and shows how that openxlsx code can be integrated into R, making your coding experience much more seamless. This will be particularly useful for adopting RAP principles, or ensuring the full pipeline is managed within R.","link":"https://scotland.shinyapps.io/phs-learnr-openxlsx/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-openxlsx/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","openxlsx"],"tags":["r","excel"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Introduction to Python","slug":"introduction-to-python","description":"A beginner\'s course for learning Python from the basics.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"1","packages":[],"tags":["python"],"prereqs":"none","timetable":"","materials":"","related":[]},{"title":"R Functions","slug":"r-functions","description":"R is a functional programming language. So let\'s learn how to write some functions.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Python Functions","slug":"python-functions","description":"Learn how to write functions in Python.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"2","packages":[],"tags":["python"],"prereqs":["Introduction to Python"],"timetable":"","materials":"","related":[]},{"title":"Dates & Times in R","slug":"dates-and-times-in-r","description":"Learn how to work with dates and times in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","lubridate"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"R Control Structures","slug":"r-control-structures","description":"Learn how to control the flow of execution in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","purrr"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Python Control Structures","slug":"python-control-structures","description":"Learn how to control the flow of execution in Python.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"2","packages":[],"tags":["python"],"prereqs":["Introduction to Python"],"timetable":"","materials":"","related":[]},{"title":"Data Cleaning in R","slug":"data-cleaning-in-r","description":"Learn about data cleaning in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","stringr","forcats","tidyr","tidylog","janitor"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Testing in R","slug":"testing-in-r","description":"Learn about testing in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","testthat"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Data Viz in Python","slug":"data-viz-in-python","description":"Learn about data visualisation using Python.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"2","packages":["plotly"],"tags":["python","viz"],"prereqs":["Introduction to Python"],"timetable":"","materials":"","related":[]},{"title":"R Packages","slug":"r-packages","description":"Learn how to build your own R packages and get them ready for CRAN.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"3","packages":["base"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]}]')},311:function(e,t,o){var content=o(451);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(60).default)("21c3f7c6",content,!0,{sourceMap:!1})},450:function(e,t,o){"use strict";o(311)},451:function(e,t,o){var n=o(59)((function(i){return i[1]}));n.push([e.i,".filter-row{align-items:center;display:flex}input{flex-grow:1;min-width:120px}.filter{flex:0 1 auto}.title-container{margin-bottom:20px}.head-card{border:none}.tag-cloud{padding:0 10px}.tag-button{margin:2px 0}b-button{margin-top:red}b-dropdown{margin-right:15px}.grid{display:grid}.multiselect__option--highlight,.multiselect__option--highlight:after{background:#80ba27!important}.multiselect__option--selected.multiselect__option--highlight,.multiselect__option--selected.multiselect__option--highlight:after{background:#bd27b9!important}.multiselect__tag{background:#80ba27!important}.btn-primary{background-color:#0078d4;float:right}.coming-soon{color:#0078d4;float:right}.guidance-md{padding:0 20px}.guidance-md img{width:100%}",""]),n.locals={},e.exports=n},459:function(e,t,o){"use strict";o.r(t);var n=o(22),r=o(21),l=(o(61),o(280),o(34),o(12),o(35),o(77),o(50),o(1),o(126),o(96),o(281)),c=o.n(l),d=o(254),h=o.n(d),m=o(247),f={components:{Multiselect:c.a,VueMarkdown:h.a},data:function(){return{courses:m,selectedTags:[],selectedTypes:[],selectedCourse:{},search:"",filterSelected:["Online Course","In-Person Course","Textbook","Guidance"]}},computed:{tags:function(){var e=[];return this.courses.forEach((function(t){return e=e.concat(t.tags)})),Object(r.a)(new Set(e))},types:function(){var e=[];return this.courses.forEach((function(t){return e=e.concat(t.type)})),Object(r.a)(new Set(e))},displayCourses:function(){var e=this,t=this.courses;return this.filterSelected.includes("Coming Soon")||(t=this.courses.filter((function(e){return""!=e.link}))),this.search.length>0&&this.search.length<=1?t=t.filter((function(t){return!!t.tags.includes(e.search.toLowerCase())})):this.search.length>1&&(t=t.filter((function(t){return!!t.title.toLowerCase().includes(e.search.toLowerCase())||!!t.description.toLowerCase().includes(e.search.toLowerCase())}))),t=t.filter((function(t){return!!e.filterSelected.includes(t.type)}))}},methods:{showGuidance:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,t.$axios.$get("https://secret-ocean-49799.herokuapp.com/"+e.link);case 2:e.md=o.sent,t.selectedCourse=e;case 4:case"end":return o.stop()}}),o)})))()}}},y=f,v=(o(450),o(265),o(51)),component=Object(v.a)(y,(function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"title-container"},[t("b-card",{staticClass:"overflow-hidden head-card",attrs:{"no-body":""}},[t("b-row",{attrs:{"no-gutters":""}},[t("b-col",{attrs:{sm:"12"}},[t("b-card-body",[t("h3",[e._v("Hey, you ready to learn?")]),e._v(" "),t("b-card-text",[e._v("\n Welcome to the PHS Data Science Knowledge Base. It is here that\n you'll find access to all resources related to Data Science (R,\n Python, git, etc.) created by and for PHS staff. This includes\n in-person and online training, internally developed textbooks,\n and all technical documentation, including guidance, how-tos,\n and best practice.\n ")]),e._v(" "),t("b-card-text",[t("strong",[e._v("Data Science")]),e._v(" is used in the broadest possible\n sense, capturing introductory content to technologies, and\n pulling existing and creating new more advanced content from the\n topic experts across the organisation. If you have something to\n offer, get in touch by\n "),t("a",{attrs:{href:"mailto:phs.datascience@phs.scot?Subject=DSKB - Enquiry"}},[e._v("emailing the Data Science team.")])])],1)],1)],1)],1)],1),e._v(" "),t("div",[t("b-row",{staticClass:"text-center",attrs:{cols:"1","cols-sm":"2","cols-lg":"4"}},[t("b-col",[t("NuxtLink",{attrs:{to:{path:"/develop"}}},[t("lord-icon",{staticStyle:{width:"200px",height:"200px"},attrs:{src:"https://cdn.lordicon.com/rahouxil.json",trigger:"hover",colors:"primary:#3f3685,secondary:#80ba27",stroke:"light",title:"Courses icon"}})],1),e._v(" "),t("h5",[e._v("Courses")]),e._v(" "),t("p",[e._v("\n Internally developed courses from foundations to specific topics\n relevant to all data-informed roles.\n ")])],1),e._v(" "),t("b-col",[t("NuxtLink",{attrs:{to:{path:"/develop",query:{type:["Textbook"]}}}},[t("lord-icon",{staticStyle:{width:"200px",height:"200px"},attrs:{src:"https://cdn.lordicon.com/lenjvibx.json",trigger:"morph-two-way",colors:"primary:#3f3685,secondary:#80ba27",stroke:"light",title:"Textbook icon"}})],1),e._v(" "),t("h5",[e._v("Textbooks")]),e._v(" "),t("p",[e._v("\n For learning or reference, see a complete textbook on one of the\n technologies.\n ")])],1),e._v(" "),t("b-col",[t("NuxtLink",{attrs:{to:{path:"/docs"}}},[t("lord-icon",{staticStyle:{width:"200px",height:"200px"},attrs:{src:"https://cdn.lordicon.com/wzwygmng.json",trigger:"hover",colors:"primary:#3f3685,secondary:#80ba27",stroke:"light",title:"Guidance document icon"}})],1),e._v(" "),t("h5",[e._v("Documentation")]),e._v(" "),t("p",[e._v("\n Keeping everyone on the same page, sharing common knowledge. This\n includes style guides, FAQs, etc.\n ")])],1),e._v(" "),t("b-col",[t("NuxtLink",{attrs:{to:{path:"/docs/Posit%20Infrastructure?doc=FAQs.md"}}},[t("lord-icon",{staticStyle:{width:"200px",height:"200px"},attrs:{src:"https://cdn.lordicon.com/wzrwaorf.json",trigger:"hover",colors:"primary:#3f3685,secondary:#80ba27",stroke:"light",title:"FAQs icon"}})],1),e._v(" "),t("h5",[e._v("FAQs")]),e._v(" "),t("p",[e._v("Frequently asked questions about the Posit infrastructure.")])],1)],1)],1),e._v(" "),t("div",{staticClass:"mt-5"},[t("b-row",{attrs:{"justify-content-between":""}},[t("b-col",[t("b-card",{staticClass:"mb-4",attrs:{title:"Learning Pathways"}},[t("div",{staticClass:"d-flex mb-4"},[t("b-card-text",[e._v("Sometimes it's easier to get started when you can plan for the\n road ahead...")])],1),e._v(" "),t("b-row",{staticClass:"mb-3"},[t("b-col",[t("b-button",{staticClass:"mt-2",attrs:{block:"",variant:"outline-primary"},on:{click:function(t){return e.$router.push("/develop/r-pathway")}}},[e._v("R Pathway")])],1),e._v(" "),t("b-col",{attrs:{cols:"12",md:"10"}},[t("b-card-text",[e._v("The R content has been desgined to be topic-led, letting you\n pick up the concepts and tools for when you need them.\n However, the R pathway page outlines a structure for all of\n the R content. This includes training modules, guidance, and\n related technologies.")])],1)],1)],1)],1)],1)],1)])}),[],!1,null,null,null);t.default=component.exports}}]); \ No newline at end of file diff --git a/docs/_nuxt/32f6e8d.js b/docs/_nuxt/32f6e8d.js new file mode 100644 index 0000000..6b96561 --- /dev/null +++ b/docs/_nuxt/32f6e8d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{247:function(e){e.exports=JSON.parse('[{"title":"Introduction to R","slug":"introduction-to-r","description":"A beginner\'s course for learning R from the basics.","overview":"In Introduction to R, you\'re given a brief introduction to programming before building the foundations in R. Throughout the course, you will build from these foundations and master the basics of this widely used open source language, including data structures, flow, exploration, and wrangling. This is all supported with live coding and quizzes so you can be sure you know what you\'re doing. \\n\\nWhile the use of R continues to grow globally, PHS continues to secure the infrastructure and tools for everyone to make the best use of this technology. This course is suitable for everyone new to R and provides the knowledge to build topic specific skills.","link":"https://scotland.shinyapps.io/phs-learnr-intro/","f2f":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmmiLaHlezqJOh-fBWH8cGyhUQUlQMVNZMk1aTjdCMllRTFJNWkZKTFNSMy4u","online":"https://scotland.shinyapps.io/phs-learnr-intro/","image":"","type":["In-Person Course","Online Course"],"technology":"R","level":"1","packages":["base"],"tags":["r"],"prereqs":"none","timetable":"3 half days (plus a pre-course check)","materials":"https://github.com/Public-Health-Scotland/learnr-intro","related":[]},{"title":"Introduction to Git","slug":"introduction-to-git","description":"A beginner\'s course for learning git (including GitHub and Gitea) from the basics.","overview":"In Introduction to Git, there is no assumption of any background in Git, or even version control. Instead, this introduces you to version control topics and provides a deeper understanding of how things work, all from the perspective of an R user. The practical elements of the course utilise the user interface on RStudio so, while there\'s no prerequisite on R, you should be familiar with the RStudio software. \\n\\nVersion control is a powerful tool across software engineering disciplines. At a high level, it allows you to keep track of changes, undoing them when necessary, and collaborating at scale. This course introduces you to Git as a version control tool (arguably the most popular), GitHub and Gitea. You\'ll learn about repositories, commits, branches, and pull requests.","link":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmvpRU_LHr_5KrgEqWKwVEvJUOTdKTjRKMUZYUVlEM0E2NE9GQkdOVjBESCQlQCN0PWcu&embed=true","f2f":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmvpRU_LHr_5KrgEqWKwVEvJUOTdKTjRKMUZYUVlEM0E2NE9GQkdOVjBESCQlQCN0PWcu","online":"","image":"","type":["In-Person Course"],"technology":"Git","level":"1","packages":[],"tags":["git"],"prereqs":"none","timetable":"1 half day (plus both a pre-course check and post-course drop-in)","materials":"https://github.com/Public-Health-Scotland/learn-git","related":["R","Python"]},{"title":"Data Visualisation in R","slug":"data-visualisation-in-r","description":"Learn about data viz using R. This course has a focus on ggplot2 but includes an introduction to plotly.","overview":"Data visualisation is useful across all roles that interact with data, it\'s important that these are meaningful and visually appealing too. Building from the Introduction to R course, this course covers the structure on which visualisations are built and then, more practically, how to actually build them. \\n\\nThe ggplot2 package is the primary R package that is used across the organisation and in this course. However, this package is built on the same underlying structure as the plotly package. When things need to get interactive on your visualisations, you\'ll need to use plotly.","link":"https://scotland.shinyapps.io/phs-learnr-dataviz/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-dataviz/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","ggplot2","plotly"],"tags":["r","viz"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Introduction to R Markdown","slug":"introduction-to-r-markdown","description":"Learn about building reports and other functionality of R Markdown.","overview":"R Markdown is used to create outputs such as PDFs, HTML, or even a Shiny app. These are generated from the R Markdown file which simply lays out the document with a minimal and easy to use syntax. You can also include executable code chunks, allowing you to produce visualisations and analytical outputs. R Markdown is already widely used across the organisation, with templates available for publications, presentations, and even training course apps. \\n\\nIn this course you\'ll learn the foundations and practicalities of using R Markdown. While there\'s enough theory to understand how things work, there\'s practical exercises to get familiar and embed your learning. You\'ll need to do most of the practical exercises on RStudio (desktop or server) as the training app can\'t show the outputs.","link":"https://scotland.shinyapps.io/phs-learnr-rmarkdown/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-rmarkdown/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","rmarkdown"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"SQL in R","slug":"sql-in-r","description":"Learn about writing and using SQL commands in R.","overview":"Using SQL is is applicable to so many roles, it\'s almost inevitable that you\'ll come across it at some stage. However, this could also mean that you inherit pre-written SQL or be dealing with massive quantities of data. Using SQL doesn\'t need to be intimidating but it\'s going to make your life a lot easier if you know what you\'re doing and how to do it efficiently. This course is a complete introduction to SQL from the foundations up, you can use the first few chapters to learn about SQL and leave it there. However, the course continues and shows how that SQL code can be integrated into R, making your coding experience much more seamless. The course concludes with a taster for using an R package, dbplyr. This package allows you to use familiar R syntax (if you\'re familiar with the Tidyverse) rather than using SQL at all.","link":"https://scotland.shinyapps.io/phs-learnr-sql/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-sql/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","odbc","dbplyr"],"tags":["r","sql"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Reproducible Environments in R","slug":"reproducible-environments-in-r","description":"Learn about creating and using reproducible environments in R.","overview":"This course is a complete introduction to creating and using reproducible environments in R, using the `{renv}` package. It covers reproducibility and the basics of working with environments. The course continues and shows how environments are managed with code, all integrated into R, making your coding experience and collaboration much more seamless. This will be particularly useful for adopting RAP principles, or ensuring the full pipeline is managed within R.","link":"https://scotland.shinyapps.io/phs-learnr-renv","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-renv","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","renv"],"tags":["r","renv"],"prereqs":["Introduction to R","Introduction to Git"],"timetable":"","materials":"","related":[]},{"title":"R Shiny","slug":"r-shiny","description":"Learn how to develop web apps and dashboards using R Shiny.","overview":"R Shiny is an R package that allows you to develop interactive web apps. The use of R Shiny is expansive and flexible, with the ability to integrate with R Markdown and other tools. With an element of web development practices, the course builds the knowledge of Shiny through practical exercises but is thorough enough to cover how each component works. In this course you\'ll learn how a complete R shiny comes together, from forming your data, developing user interfaces with interactive data visualisations that conform to PHS standards, right through to deploying for others to use on the web.","link":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmibxHi_yzZ9Pvduh8IqoF_5UMk9RVVBZU0ExWlUwUFdMMjI4VFNVRTRTUSQlQCN0PWcu","f2f":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmibxHi_yzZ9Pvduh8IqoF_5UMk9RVVBZU0ExWlUwUFdMMjI4VFNVRTRTUSQlQCN0PWcu","online":"","image":"","type":["In-Person Course"],"technology":"R","level":"3","packages":["base","shiny"],"tags":["r"],"prereqs":["Introduction to R","Data Visualisation in R"],"timetable":"3 days (plus a pre-course check)","materials":"https://github.com/Public-Health-Scotland/RShiny-training","related":[]},{"title":"PHS Methods","slug":"phs-methods","description":"The first step in taking R further. Learn about the `phsmethods` package created by and for staff in PHS.","overview":"","link":"https://scotland.shinyapps.io/phs-learnr-phsmethods/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-phsmethods/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","phsmethods"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Introduction to Open Data","slug":"introduction-to-open-data","description":"Learn about open data, what it is, why we use it, and how to interact with our open data using R.","overview":"Open data is the name for publicly released data which is made freely available to everyone to use and reuse in any way they like. With open data, anyone is able to make use of its potential: improving, innovating, and making better decisions. In this course, we provide a theoretical background of open data, building on PHS practices, and then getting practical with some coding examples in R. ","link":"https://scotland.shinyapps.io/phs-learnr-opendata","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-opendata","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","ckanr"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"OpenXLSX","slug":"openxlsx","description":"Learn about the openxlsx package to work with Excel files within R.","overview":"The openxlsx package is a great way to work with Excel files within R. It allows you to read, write, and modify Excel files, and is a great alternative to the readxl and writexl packages. This course is a complete introduction to the openxlsx package, from the foundations up. It covers the basics of working with Excel files, including reading, writing, and modifying data. It also covers some more advanced topics, such as working with multiple worksheets, formatting, and using functions to automate tasks. This course is designed to be a complete introduction to the openxlsx package, so you can use the first few chapters to learn about the package and leave it there. However, the course continues and shows how that openxlsx code can be integrated into R, making your coding experience much more seamless. This will be particularly useful for adopting RAP principles, or ensuring the full pipeline is managed within R.","link":"https://scotland.shinyapps.io/phs-learnr-openxlsx/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-openxlsx/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","openxlsx"],"tags":["r","excel"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"SPSS to R","slug":"spss-to-r","description":"A companion to the Intro to R course for SPSS users, understanding the differences and how to start translating SPSS to R.","overview":"While not repeating the content of the Introduction to R course, this course attempts to support existing SPSS users to transition to R. The course follows the same structure to allow you to compare and see how the code varies between the different technologies.","link":"https://scotland.shinyapps.io/phs-learnr-spsstor/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-spsstor/","image":"","type":["Online Course"],"technology":"R","level":"1","packages":["base"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Introduction to Python","slug":"introduction-to-python","description":"A beginner\'s course for learning Python from the basics.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"1","packages":[],"tags":["python"],"prereqs":"none","timetable":"","materials":"","related":[]},{"title":"R Functions","slug":"r-functions","description":"R is a functional programming language. So let\'s learn how to write some functions.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Python Functions","slug":"python-functions","description":"Learn how to write functions in Python.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"2","packages":[],"tags":["python"],"prereqs":["Introduction to Python"],"timetable":"","materials":"","related":[]},{"title":"Dates & Times in R","slug":"dates-and-times-in-r","description":"Learn how to work with dates and times in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","lubridate"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"R Control Structures","slug":"r-control-structures","description":"Learn how to control the flow of execution in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","purrr"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Python Control Structures","slug":"python-control-structures","description":"Learn how to control the flow of execution in Python.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"2","packages":[],"tags":["python"],"prereqs":["Introduction to Python"],"timetable":"","materials":"","related":[]},{"title":"Data Cleaning in R","slug":"data-cleaning-in-r","description":"Learn about data cleaning in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","stringr","forcats","tidyr","tidylog","janitor"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Testing in R","slug":"testing-in-r","description":"Learn about testing in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","testthat"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Data Viz in Python","slug":"data-viz-in-python","description":"Learn about data visualisation using Python.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"2","packages":["plotly"],"tags":["python","viz"],"prereqs":["Introduction to Python"],"timetable":"","materials":"","related":[]},{"title":"R Packages","slug":"r-packages","description":"Learn how to build your own R packages and get them ready for CRAN.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"3","packages":["base"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]}]')},311:function(e,t,o){var content=o(451);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(60).default)("21c3f7c6",content,!0,{sourceMap:!1})},450:function(e,t,o){"use strict";o(311)},451:function(e,t,o){var n=o(59)((function(i){return i[1]}));n.push([e.i,".filter-row{align-items:center;display:flex}input{flex-grow:1;min-width:120px}.filter{flex:0 1 auto}.title-container{margin-bottom:20px}.head-card{border:none}.tag-cloud{padding:0 10px}.tag-button{margin:2px 0}b-button{margin-top:red}b-dropdown{margin-right:15px}.grid{display:grid}.multiselect__option--highlight,.multiselect__option--highlight:after{background:#80ba27!important}.multiselect__option--selected.multiselect__option--highlight,.multiselect__option--selected.multiselect__option--highlight:after{background:#bd27b9!important}.multiselect__tag{background:#80ba27!important}.btn-primary{background-color:#0078d4;float:right}.coming-soon{color:#0078d4;float:right}.guidance-md{padding:0 20px}.guidance-md img{width:100%}",""]),n.locals={},e.exports=n},459:function(e,t,o){"use strict";o.r(t);var n=o(22),r=o(21),l=(o(61),o(280),o(34),o(12),o(35),o(77),o(50),o(1),o(126),o(96),o(281)),c=o.n(l),d=o(254),h=o.n(d),m=o(247),f={components:{Multiselect:c.a,VueMarkdown:h.a},data:function(){return{courses:m,selectedTags:[],selectedTypes:[],selectedCourse:{},search:"",filterSelected:["Online Course","In-Person Course","Textbook","Guidance"]}},computed:{tags:function(){var e=[];return this.courses.forEach((function(t){return e=e.concat(t.tags)})),Object(r.a)(new Set(e))},types:function(){var e=[];return this.courses.forEach((function(t){return e=e.concat(t.type)})),Object(r.a)(new Set(e))},displayCourses:function(){var e=this,t=this.courses;return this.filterSelected.includes("Coming Soon")||(t=this.courses.filter((function(e){return""!=e.link}))),this.search.length>0&&this.search.length<=1?t=t.filter((function(t){return!!t.tags.includes(e.search.toLowerCase())})):this.search.length>1&&(t=t.filter((function(t){return!!t.title.toLowerCase().includes(e.search.toLowerCase())||!!t.description.toLowerCase().includes(e.search.toLowerCase())}))),t=t.filter((function(t){return!!e.filterSelected.includes(t.type)}))}},methods:{showGuidance:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,t.$axios.$get("https://secret-ocean-49799.herokuapp.com/"+e.link);case 2:e.md=o.sent,t.selectedCourse=e;case 4:case"end":return o.stop()}}),o)})))()}}},y=f,v=(o(450),o(265),o(51)),component=Object(v.a)(y,(function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"title-container"},[t("b-card",{staticClass:"overflow-hidden head-card",attrs:{"no-body":""}},[t("b-row",{attrs:{"no-gutters":""}},[t("b-col",{attrs:{sm:"12"}},[t("b-card-body",[t("h3",[e._v("Hey, you ready to learn?")]),e._v(" "),t("b-card-text",[e._v("\n Welcome to the PHS Data Science Knowledge Base. It is here that\n you'll find access to all resources related to Data Science (R,\n Python, git, etc.) created by and for PHS staff. This includes\n in-person and online training, internally developed textbooks,\n and all technical documentation, including guidance, how-tos,\n and best practice.\n ")]),e._v(" "),t("b-card-text",[t("strong",[e._v("Data Science")]),e._v(" is used in the broadest possible\n sense, capturing introductory content to technologies, and\n pulling existing and creating new more advanced content from the\n topic experts across the organisation. If you have something to\n offer, get in touch by\n "),t("a",{attrs:{href:"mailto:phs.datascience@phs.scot?Subject=DSKB - Enquiry"}},[e._v("emailing the Data Science team.")])])],1)],1)],1)],1)],1),e._v(" "),t("div",[t("b-row",{staticClass:"text-center",attrs:{cols:"1","cols-sm":"2","cols-lg":"4"}},[t("b-col",[t("NuxtLink",{attrs:{to:{path:"/develop"}}},[t("lord-icon",{staticStyle:{width:"200px",height:"200px"},attrs:{src:"https://cdn.lordicon.com/rahouxil.json",trigger:"hover",colors:"primary:#3f3685,secondary:#80ba27",stroke:"light",title:"Courses icon"}})],1),e._v(" "),t("h5",[e._v("Courses")]),e._v(" "),t("p",[e._v("\n Internally developed courses from foundations to specific topics\n relevant to all data-informed roles.\n ")])],1),e._v(" "),t("b-col",[t("NuxtLink",{attrs:{to:{path:"/develop",query:{type:["Textbook"]}}}},[t("lord-icon",{staticStyle:{width:"200px",height:"200px"},attrs:{src:"https://cdn.lordicon.com/lenjvibx.json",trigger:"morph-two-way",colors:"primary:#3f3685,secondary:#80ba27",stroke:"light",title:"Textbook icon"}})],1),e._v(" "),t("h5",[e._v("Textbooks")]),e._v(" "),t("p",[e._v("\n For learning or reference, see a complete textbook on one of the\n technologies.\n ")])],1),e._v(" "),t("b-col",[t("NuxtLink",{attrs:{to:{path:"/docs"}}},[t("lord-icon",{staticStyle:{width:"200px",height:"200px"},attrs:{src:"https://cdn.lordicon.com/wzwygmng.json",trigger:"hover",colors:"primary:#3f3685,secondary:#80ba27",stroke:"light",title:"Guidance document icon"}})],1),e._v(" "),t("h5",[e._v("Documentation")]),e._v(" "),t("p",[e._v("\n Keeping everyone on the same page, sharing common knowledge. This\n includes style guides, FAQs, etc.\n ")])],1),e._v(" "),t("b-col",[t("NuxtLink",{attrs:{to:{path:"/docs/Posit%20Infrastructure?doc=FAQs.md"}}},[t("lord-icon",{staticStyle:{width:"200px",height:"200px"},attrs:{src:"https://cdn.lordicon.com/wzrwaorf.json",trigger:"hover",colors:"primary:#3f3685,secondary:#80ba27",stroke:"light",title:"FAQs icon"}})],1),e._v(" "),t("h5",[e._v("FAQs")]),e._v(" "),t("p",[e._v("Frequently asked questions about the Posit infrastructure.")])],1)],1)],1),e._v(" "),t("div",{staticClass:"mt-5"},[t("b-row",{attrs:{"justify-content-between":""}},[t("b-col",[t("b-card",{staticClass:"mb-4",attrs:{title:"Learning Pathways"}},[t("div",{staticClass:"d-flex mb-4"},[t("b-card-text",[e._v("Sometimes it's easier to get started when you can plan for the\n road ahead...")])],1),e._v(" "),t("b-row",{staticClass:"mb-3"},[t("b-col",[t("b-button",{staticClass:"mt-2",attrs:{block:"",variant:"outline-primary"},on:{click:function(t){return e.$router.push("/develop/r-pathway")}}},[e._v("R Pathway")])],1),e._v(" "),t("b-col",{attrs:{cols:"12",md:"10"}},[t("b-card-text",[e._v("The R content has been desgined to be topic-led, letting you\n pick up the concepts and tools for when you need them.\n However, the R pathway page outlines a structure for all of\n the R content. This includes training modules, guidance, and\n related technologies.")])],1)],1)],1)],1)],1)],1)])}),[],!1,null,null,null);t.default=component.exports}}]); \ No newline at end of file diff --git a/docs/_nuxt/6382320.js b/docs/_nuxt/6382320.js deleted file mode 100644 index d4d5e90..0000000 --- a/docs/_nuxt/6382320.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{247:function(t){t.exports=JSON.parse('[{"title":"Introduction to R","slug":"introduction-to-r","description":"A beginner\'s course for learning R from the basics.","overview":"In Introduction to R, you\'re given a brief introduction to programming before building the foundations in R. Throughout the course, you will build from these foundations and master the basics of this widely used open source language, including data structures, flow, exploration, and wrangling. This is all supported with live coding and quizzes so you can be sure you know what you\'re doing. \\n\\nWhile the use of R continues to grow globally, PHS continues to secure the infrastructure and tools for everyone to make the best use of this technology. This course is suitable for everyone new to R and provides the knowledge to build topic specific skills.","link":"https://scotland.shinyapps.io/phs-learnr-intro/","f2f":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmmiLaHlezqJOh-fBWH8cGyhUQUlQMVNZMk1aTjdCMllRTFJNWkZKTFNSMy4u","online":"https://scotland.shinyapps.io/phs-learnr-intro/","image":"","type":["In-Person Course","Online Course"],"technology":"R","level":"1","packages":["base"],"tags":["r"],"prereqs":"none","timetable":"3 half days (plus a pre-course check)","materials":"https://github.com/Public-Health-Scotland/learnr-intro","related":[]},{"title":"Introduction to Git","slug":"introduction-to-git","description":"A beginner\'s course for learning git (including GitHub and Gitea) from the basics.","overview":"In Introduction to Git, there is no assumption of any background in Git, or even version control. Instead, this introduces you to version control topics and provides a deeper understanding of how things work, all from the perspective of an R user. The practical elements of the course utilise the user interface on RStudio so, while there\'s no prerequisite on R, you should be familiar with the RStudio software. \\n\\nVersion control is a powerful tool across software engineering disciplines. At a high level, it allows you to keep track of changes, undoing them when necessary, and collaborating at scale. This course introduces you to Git as a version control tool (arguably the most popular), GitHub and Gitea. You\'ll learn about repositories, commits, branches, and pull requests.","link":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmvpRU_LHr_5KrgEqWKwVEvJUOTdKTjRKMUZYUVlEM0E2NE9GQkdOVjBESCQlQCN0PWcu&embed=true","f2f":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmvpRU_LHr_5KrgEqWKwVEvJUOTdKTjRKMUZYUVlEM0E2NE9GQkdOVjBESCQlQCN0PWcu","online":"","image":"","type":["In-Person Course"],"technology":"Git","level":"1","packages":[],"tags":["git"],"prereqs":"none","timetable":"1 half day (plus both a pre-course check and post-course drop-in)","materials":"https://github.com/Public-Health-Scotland/learn-git","related":["R","Python"]},{"title":"Data Visualisation in R","slug":"data-visualisation-in-r","description":"Learn about data viz using R. This course has a focus on ggplot2 but includes an introduction to plotly.","overview":"Data visualisation is useful across all roles that interact with data, it\'s important that these are meaningful and visually appealing too. Building from the Introduction to R course, this course covers the structure on which visualisations are built and then, more practically, how to actually build them. \\n\\nThe ggplot2 package is the primary R package that is used across the organisation and in this course. However, this package is built on the same underlying structure as the plotly package. When things need to get interactive on your visualisations, you\'ll need to use plotly.","link":"https://scotland.shinyapps.io/phs-learnr-dataviz/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-dataviz/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","ggplot2","plotly"],"tags":["r","viz"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Introduction to R Markdown","slug":"introduction-to-r-markdown","description":"Learn about building reports and other functionality of R Markdown.","overview":"R Markdown is used to create outputs such as PDFs, HTML, or even a Shiny app. These are generated from the R Markdown file which simply lays out the document with a minimal and easy to use syntax. You can also include executable code chunks, allowing you to produce visualisations and analytical outputs. R Markdown is already widely used across the organisation, with templates available for publications, presentations, and even training course apps. \\n\\nIn this course you\'ll learn the foundations and practicalities of using R Markdown. While there\'s enough theory to understand how things work, there\'s practical exercises to get familiar and embed your learning. You\'ll need to do most of the practical exercises on RStudio (desktop or server) as the training app can\'t show the outputs.","link":"https://scotland.shinyapps.io/phs-learnr-rmarkdown/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-rmarkdown/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","rmarkdown"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"PHS Methods","slug":"phs-methods","description":"The first step in taking R further. Learn about the `phsmethods` package created by and for staff in PHS.","overview":"","link":"https://scotland.shinyapps.io/phs-learnr-phsmethods/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-phsmethods/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","phsmethods"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Introduction to Open Data","slug":"introduction-to-open-data","description":"Learn about open data, what it is, why we use it, and how to interact with our open data using R.","overview":"Open data is the name for publicly released data which is made freely available to everyone to use and reuse in any way they like. With open data, anyone is able to make use of its potential: improving, innovating, and making better decisions. In this course, we provide a theoretical background of open data, building on PHS practices, and then getting practical with some coding examples in R. ","link":"https://scotland.shinyapps.io/phs-learnr-opendata","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-opendata","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","ckanr"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"SPSS to R","slug":"spss-to-r","description":"A companion to the Intro to R course for SPSS users, understanding the differences and how to start translating SPSS to R.","overview":"While not repeating the content of the Introduction to R course, this course attempts to support existing SPSS users to transition to R. The course follows the same structure to allow you to compare and see how the code varies between the different technologies.","link":"https://scotland.shinyapps.io/phs-learnr-spsstor/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-spsstor/","image":"","type":["Online Course"],"technology":"R","level":"1","packages":["base"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"R Shiny","slug":"r-shiny","description":"Learn how to develop web apps and dashboards using R Shiny.","overview":"R Shiny is an R package that allows you to develop interactive web apps. The use of R Shiny is expansive and flexible, with the ability to integrate with R Markdown and other tools. With an element of web development practices, the course builds the knowledge of Shiny through practical exercises but is thorough enough to cover how each component works. In this course you\'ll learn how a complete R shiny comes together, from forming your data, developing user interfaces with interactive data visualisations that conform to PHS standards, right through to deploying for others to use on the web.","link":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmibxHi_yzZ9Pvduh8IqoF_5UMk9RVVBZU0ExWlUwUFdMMjI4VFNVRTRTUSQlQCN0PWcu","f2f":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmibxHi_yzZ9Pvduh8IqoF_5UMk9RVVBZU0ExWlUwUFdMMjI4VFNVRTRTUSQlQCN0PWcu","online":"","image":"","type":["In-Person Course"],"technology":"R","level":"3","packages":["base","shiny"],"tags":["r"],"prereqs":["Introduction to R","Data Visualisation in R"],"timetable":"3 days (plus a pre-course check)","materials":"https://github.com/Public-Health-Scotland/RShiny-training","related":[]},{"title":"SQL in R","slug":"sql-in-r","description":"Learn about writing and using SQL commands in R.","overview":"Using SQL is is applicable to so many roles, it\'s almost inevitable that you\'ll come across it at some stage. However, this could also mean that you inherit pre-written SQL or be dealing with massive quantities of data. Using SQL doesn\'t need to be intimidating but it\'s going to make your life a lot easier if you know what you\'re doing and how to do it efficiently. This course is a complete introduction to SQL from the foundations up, you can use the first few chapters to learn about SQL and leave it there. However, the course continues and shows how that SQL code can be integrated into R, making your coding experience much more seamless. The course concludes with a taster for using an R package, dbplyr. This package allows you to use familiar R syntax (if you\'re familiar with the Tidyverse) rather than using SQL at all.","link":"https://scotland.shinyapps.io/phs-learnr-sql/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-sql/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","odbc","dbplyr"],"tags":["r","sql"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Reproducible Environments in R","slug":"reproducible-environments-in-r","description":"Learn about creating and using reproducible environments in R.","overview":"This course is a complete introduction to creating and using reproducible environments in R, using the `{renv}` package. It covers reproducibility and the basics of working with environments. The course continues and shows how environments are managed with code, all integrated into R, making your coding experience and collaboration much more seamless. This will be particularly useful for adopting RAP principles, or ensuring the full pipeline is managed within R.","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","renv"],"tags":["r","renv"],"prereqs":["Introduction to R","Introduction to Git"],"timetable":"","materials":"","related":[]},{"title":"OpenXLSX","slug":"openxlsx","description":"Learn about the openxlsx package to work with Excel files within R.","overview":"The openxlsx package is a great way to work with Excel files within R. It allows you to read, write, and modify Excel files, and is a great alternative to the readxl and writexl packages. This course is a complete introduction to the openxlsx package, from the foundations up. It covers the basics of working with Excel files, including reading, writing, and modifying data. It also covers some more advanced topics, such as working with multiple worksheets, formatting, and using functions to automate tasks. This course is designed to be a complete introduction to the openxlsx package, so you can use the first few chapters to learn about the package and leave it there. However, the course continues and shows how that openxlsx code can be integrated into R, making your coding experience much more seamless. This will be particularly useful for adopting RAP principles, or ensuring the full pipeline is managed within R.","link":"https://scotland.shinyapps.io/phs-learnr-openxlsx/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-openxlsx/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","openxlsx"],"tags":["r","excel"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Introduction to Python","slug":"introduction-to-python","description":"A beginner\'s course for learning Python from the basics.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"1","packages":[],"tags":["python"],"prereqs":"none","timetable":"","materials":"","related":[]},{"title":"R Functions","slug":"r-functions","description":"R is a functional programming language. So let\'s learn how to write some functions.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Python Functions","slug":"python-functions","description":"Learn how to write functions in Python.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"2","packages":[],"tags":["python"],"prereqs":["Introduction to Python"],"timetable":"","materials":"","related":[]},{"title":"Dates & Times in R","slug":"dates-and-times-in-r","description":"Learn how to work with dates and times in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","lubridate"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"R Control Structures","slug":"r-control-structures","description":"Learn how to control the flow of execution in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","purrr"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Python Control Structures","slug":"python-control-structures","description":"Learn how to control the flow of execution in Python.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"2","packages":[],"tags":["python"],"prereqs":["Introduction to Python"],"timetable":"","materials":"","related":[]},{"title":"Data Cleaning in R","slug":"data-cleaning-in-r","description":"Learn about data cleaning in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","stringr","forcats","tidyr","tidylog","janitor"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Testing in R","slug":"testing-in-r","description":"Learn about testing in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","testthat"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Data Viz in Python","slug":"data-viz-in-python","description":"Learn about data visualisation using Python.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"2","packages":["plotly"],"tags":["python","viz"],"prereqs":["Introduction to Python"],"timetable":"","materials":"","related":[]},{"title":"R Packages","slug":"r-packages","description":"Learn how to build your own R packages and get them ready for CRAN.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"3","packages":["base"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]}]')},253:function(t,e,o){var content=o(277);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(60).default)("9ab7227a",content,!0,{sourceMap:!1})},265:function(t,e,o){"use strict";o(253)},276:function(t){t.exports=JSON.parse('[{"title":"Git Guide","slug":"git-guide","description":"Textbook for using git and GitHub within PHS.","link":"https://public-health-scotland.github.io/git-guide/","richLink":"","image":"","type":"Textbook","technology":"Git","tags":["git"]}]')},277:function(t,e,o){var n=o(59)((function(i){return i[1]}));n.push([t.i,'fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{background:#fff;display:block;height:38px;position:absolute;right:1px;top:1px;width:40px}.multiselect__spinner:after,.multiselect__spinner:before{border:2px solid transparent;border-radius:100%;border-top-color:#41b883;box-shadow:0 0 0 1px transparent;content:"";height:16px;left:50%;margin:-8px 0 0 -8px;position:absolute;top:50%;width:16px}.multiselect__spinner:before{animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);animation-iteration-count:infinite}.multiselect__spinner:after{animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);animation-iteration-count:infinite}.multiselect__loading-enter-active,.multiselect__loading-leave-active{opacity:1;transition:opacity .4s ease-in-out}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}.multiselect,.multiselect__input,.multiselect__single{font-family:inherit;font-size:16px;touch-action:manipulation}.multiselect{box-sizing:content-box;color:#35495e;display:block;min-height:40px;position:relative;text-align:left;width:100%}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:none}.multiselect--disabled{background:#ededed;opacity:.6;pointer-events:none}.multiselect--active{z-index:50}.multiselect--active:not(.multiselect--above) .multiselect__current,.multiselect--active:not(.multiselect--above) .multiselect__input,.multiselect--active:not(.multiselect--above) .multiselect__tags{border-bottom-left-radius:0;border-bottom-right-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect--above.multiselect--active .multiselect__current,.multiselect--above.multiselect--active .multiselect__input,.multiselect--above.multiselect--active .multiselect__tags{border-top-left-radius:0;border-top-right-radius:0}.multiselect__input,.multiselect__single{background:#fff;border:none;border-radius:5px;box-sizing:border-box;display:inline-block;line-height:20px;margin-bottom:8px;min-height:20px;padding:0 0 0 5px;position:relative;transition:border .1s ease;vertical-align:top;width:100%}.multiselect__input::-moz-placeholder{color:#35495e}.multiselect__input::placeholder{color:#35495e}.multiselect__tag~.multiselect__input,.multiselect__tag~.multiselect__single{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:none}.multiselect__single{margin-bottom:8px;padding-left:5px}.multiselect__tags-wrap{display:inline}.multiselect__tags{background:#fff;border:1px solid #e8e8e8;border-radius:5px;display:block;font-size:14px;min-height:40px;padding:8px 40px 0 8px}.multiselect__tag{background:#41b883;border-radius:5px;color:#fff;display:inline-block;line-height:1;margin-bottom:5px;margin-right:10px;max-width:100%;overflow:hidden;padding:4px 26px 4px 10px;position:relative;text-overflow:ellipsis;white-space:nowrap}.multiselect__tag-icon{border-radius:5px;bottom:0;cursor:pointer;font-style:normal;font-weight:700;line-height:22px;margin-left:7px;position:absolute;right:0;text-align:center;top:0;transition:all .2s ease;width:22px}.multiselect__tag-icon:after{color:#266d4d;content:"\\D7";font-size:14px}.multiselect__tag-icon:focus,.multiselect__tag-icon:hover{background:#369a6e}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current{border:1px solid #e8e8e8;border-radius:5px;min-height:40px;overflow:hidden;padding:8px 30px 0 12px;white-space:nowrap}.multiselect__current,.multiselect__select{box-sizing:border-box;cursor:pointer;display:block;line-height:16px;margin:0;-webkit-text-decoration:none;text-decoration:none}.multiselect__select{height:38px;padding:4px 8px;position:absolute;right:1px;text-align:center;top:1px;transition:transform .2s ease;width:40px}.multiselect__select:before{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 0;color:#999;content:"";margin-top:4px;position:relative;right:0;top:65%}.multiselect__placeholder{color:#adadad;display:inline-block;margin-bottom:10px;padding-top:2px}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content-wrapper{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e8e8e8;border-bottom-left-radius:5px;border-bottom-right-radius:5px;border-top:none;display:block;max-height:240px;overflow:auto;position:absolute;width:100%;z-index:50}.multiselect__content{display:inline-block;list-style:none;margin:0;min-width:100%;padding:0;vertical-align:top}.multiselect--above .multiselect__content-wrapper{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;border-top:1px solid #e8e8e8;border-top-left-radius:5px;border-top-right-radius:5px;bottom:100%}.multiselect__content::webkit-scrollbar{display:none}.multiselect__element{display:block}.multiselect__option{cursor:pointer;display:block;line-height:16px;min-height:40px;padding:12px;position:relative;-webkit-text-decoration:none;text-decoration:none;text-transform:none;vertical-align:middle;white-space:nowrap}.multiselect__option:after{font-size:13px;line-height:40px;padding-left:20px;padding-right:12px;position:absolute;right:0;top:0}.multiselect__option--highlight{background:#41b883;color:#fff;outline:none}.multiselect__option--highlight:after{background:#41b883;color:#fff;content:attr(data-select)}.multiselect__option--selected{background:#f3f3f3;color:#35495e;font-weight:700}.multiselect__option--selected:after{background:inherit;color:silver;content:attr(data-selected)}.multiselect__option--selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--selected.multiselect__option--highlight:after{background:#ff6a6a;color:#fff;content:attr(data-deselect)}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select{background:#ededed;color:#a6a6a6}.multiselect__option--disabled{background:#ededed!important;color:#a6a6a6!important;cursor:text;pointer-events:none}.multiselect__option--group{background:#ededed;color:#35495e}.multiselect__option--group.multiselect__option--highlight{background:#35495e;color:#fff}.multiselect__option--group.multiselect__option--highlight:after{background:#35495e}.multiselect__option--disabled.multiselect__option--highlight{background:#dedede}.multiselect__option--group-selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--group-selected.multiselect__option--highlight:after{background:#ff6a6a;color:#fff;content:attr(data-deselect)}.multiselect-enter-active,.multiselect-leave-active{transition:all .15s ease}.multiselect-enter,.multiselect-leave-active{opacity:0}.multiselect__strong{display:inline-block;line-height:20px;margin-bottom:8px;vertical-align:top}[dir=rtl] .multiselect{text-align:right}[dir=rtl] .multiselect__select{left:1px;right:auto}[dir=rtl] .multiselect__tags{padding:8px 8px 0 40px}[dir=rtl] .multiselect__content{text-align:right}[dir=rtl] .multiselect__option:after{left:0;right:auto}[dir=rtl] .multiselect__clear{left:12px;right:auto}[dir=rtl] .multiselect__spinner{left:1px;right:auto}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}',""]),n.locals={},t.exports=n},310:function(t,e,o){var content=o(449);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(60).default)("06f1ea1e",content,!0,{sourceMap:!1})},447:function(t,e,o){t.exports=o.p+"videos/phs-r-overview.d08fedf.mp4"},448:function(t,e,o){"use strict";o(310)},449:function(t,e,o){var n=o(59)((function(i){return i[1]}));n.push([t.i,".filter-row{align-items:center;display:flex}input{flex-grow:1;min-width:120px}.filter{flex:0 1 auto}.title-container{margin-bottom:20px}.head-card{border:none}.tag-cloud{padding:0 10px}.tag-button{margin:2px 0}b-button{margin-top:red}b-dropdown{margin-right:15px}.grid{display:grid}.multiselect__option--highlight,.multiselect__option--highlight:after{background:#80ba27!important}.multiselect__option--selected.multiselect__option--highlight,.multiselect__option--selected.multiselect__option--highlight:after{background:#bd27b9!important}.multiselect__tag{background:#80ba27!important}.btn-primary{background-color:#0078d4;float:right}.coming-soon{color:#0078d4;float:right}.guidance-md{padding:0 20px}.guidance-md img{width:100%}footer{margin-bottom:50px;margin-top:50px}",""]),n.locals={},t.exports=n},458:function(t,e,o){"use strict";o.r(e);o(1),o(126),o(77),o(50);var n=o(22),r=(o(61),o(254)),l=o.n(r),c=o(247),d=o(276),h={components:{VueMarkdown:l.a},data:function(){return{courses:c,resources:d,selectedCourse:{},selectedResource:{}}},computed:{pathwayResources:function(){this.resources.filter((function(t){return"R"==t.technology}))}},methods:{showGuidance:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,e.$axios.$get("https://secret-ocean-49799.herokuapp.com/"+t.link);case 2:t.md=o.sent,e.selectedResource=t;case 4:case"end":return o.stop()}}),o)})))()}}},m=(o(448),o(265),o(51)),component=Object(m.a)(h,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"title-container"},[e("b-card",{staticClass:"overflow-hidden head-card",attrs:{"no-body":""}},[e("b-row",{attrs:{"no-gutters":""}},[e("b-col",{attrs:{sm:"12",md:"9"}},[e("b-card-body",[e("h3",[t._v("R Pathway")]),t._v(" "),e("b-card-text",[t._v("\n Here is the pathway for learning and development in R.\n ")])],1)],1),t._v(" "),e("b-col",{attrs:{"align-self":"center"}},[e("b-button",{attrs:{variant:"outline-primary"},on:{click:function(e){return t.$router.push("/docs/R")}}},[t._v("\n R Documentation\n ")])],1)],1)],1)],1),t._v(" "),e("div",[e("b-row",{attrs:{cols:"1","cols-md":"2"}},[e("b-col",{attrs:{cols:"12",lg:"6"}},[e("h4",[t._v("What is R?")]),t._v(" "),e("b-row",[e("b-col",[e("p",[t._v("This video is an overview of what R is and what it can do. Without getting into technical details, the video has a focus on how to get started and build your skills within PHS.")]),t._v(" "),e("p",[t._v("This page has all resources related to R. See below for the training pathway, this is split into 3 sections (each link will take you directly to the section on this page): ")]),t._v(" "),e("b-row",{staticClass:"mb-3"},[e("b-col",{staticClass:"text-center grid",attrs:{"align-self":"center"}},[e("b-button",{attrs:{variant:"outline-primary"},on:{click:function(e){return t.$router.push("#get_started")}}},[t._v("Get Started")])],1),t._v(" "),e("b-col",{staticClass:"text-center grid",attrs:{"align-self":"center"}},[e("b-button",{attrs:{variant:"outline-primary"},on:{click:function(e){return t.$router.push("#take_it_further")}}},[t._v("Take it Further")])],1),t._v(" "),e("b-col",{staticClass:"text-center grid",attrs:{"align-self":"center"}},[e("b-button",{attrs:{variant:"outline-primary"},on:{click:function(e){return t.$router.push("#get_advanced")}}},[t._v("Get Advanced")])],1)],1)],1)],1)],1),t._v(" "),e("b-col",{attrs:{cols:"12",lg:"6"}},[e("video",{attrs:{width:"100%",controls:""}},[e("source",{attrs:{src:o(447),type:"video/mp4"}}),t._v(" "),e("track",{attrs:{kind:"subtitles",srclang:"en",src:"phs-r-overview_vtt_English.vtt",label:"English"}})])])],1),t._v(" "),e("div",[e("b-row",[e("b-col",[e("b-row",[e("b-col",[e("a",{attrs:{id:"get_started"}}),t._v(" "),e("h4",{staticClass:"mt-5"},[t._v("Get Started")]),t._v(" "),e("b-row",{staticClass:"pr-md-0 pr-lg-5",attrs:{cols:"1","cols-md":"2","cols-lg":"3"}},t._l(t.courses.filter((function(t){return"R"==t.technology&&"1"==t.level&&""!=t.link})),(function(o){return e("b-col",{key:o.title,staticClass:"grid"},[e("b-card-group",{attrs:{deck:""}},[e("b-card",{staticClass:"mb-4",scopedSlots:t._u([{key:"footer",fn:function(){return[e("b-list-group",{attrs:{flush:""}},[""!=o.f2f?e("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[t._v("\n In-Person Course\n "),t._v(" "),e("b-button",{attrs:{variant:"outline-secondary",disabled:""}},[t._v("\n Closed\n ")])],1):t._e(),t._v(" "),""!=o.online?e("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[t._v("\n Online Course\n "),e("b-button",{attrs:{href:o.online,target:"_blank",variant:"primary"}},[t._v("\n Start\n ")])],1):t._e(),t._v(" "),""==o.f2f&&""==o.online?e("b-list-group-item",{staticClass:"coming-soon ml-auto"},[e("i",[t._v("Coming Soon")])]):t._e()],1)]},proxy:!0}],null,!0)},[e("b-card-title",[e("NuxtLink",{staticClass:"course-link",attrs:{to:"/develop/"+o.slug}},[t._v(t._s(o.title))])],1),t._v(" "),e("b-card-text",[t._v("\n "+t._s(o.description)+"\n ")])],1)],1)],1)})),1)],1)],1),t._v(" "),e("b-row",[e("b-col",[e("a",{attrs:{id:"take_it_further"}}),t._v(" "),e("h4",{staticClass:"mt-5"},[t._v("Take it Further")]),t._v(" "),e("b-row",{staticClass:"pr-md-0 pr-lg-5",attrs:{cols:"1","cols-md":"2","cols-lg":"3"}},t._l(t.courses.filter((function(t){return"R"==t.technology&&"2"==t.level&&""!=t.link})),(function(o){return e("b-col",{key:o.title,staticClass:"grid"},[e("b-card-group",{attrs:{deck:""}},[e("b-card",{staticClass:"mb-4",scopedSlots:t._u([{key:"footer",fn:function(){return[e("b-list-group",{attrs:{flush:""}},[""!=o.f2f?e("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[t._v("\n In-Person Course\n "),t._v(" "),e("b-button",{attrs:{variant:"outline-secondary",disabled:""}},[t._v("\n Closed\n ")])],1):t._e(),t._v(" "),""!=o.online?e("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[t._v("\n Online Course\n "),e("b-button",{attrs:{href:o.online,target:"_blank",variant:"primary"}},[t._v("\n Start\n ")])],1):t._e(),t._v(" "),""==o.f2f&&""==o.online?e("b-list-group-item",{staticClass:"coming-soon ml-auto"},[e("i",[t._v("Coming Soon")])]):t._e()],1)]},proxy:!0}],null,!0)},[e("b-card-title",[e("NuxtLink",{staticClass:"course-link",attrs:{to:"/develop/"+o.slug}},[t._v(t._s(o.title))])],1),t._v(" "),e("b-card-text",[t._v("\n "+t._s(o.description)+"\n ")])],1)],1)],1)})),1)],1)],1),t._v(" "),e("b-row",[e("b-col",[e("a",{attrs:{id:"get_advanced"}}),t._v(" "),e("h4",{staticClass:"mt-5"},[t._v("Get Advanced")]),t._v(" "),e("b-row",{staticClass:"pr-md-0 pr-lg-5",attrs:{cols:"1","cols-md":"2","cols-lg":"3"}},t._l(t.courses.filter((function(t){return"R"==t.technology&&"3"==t.level&&""!=t.link})),(function(o){return e("b-col",{key:o.title,staticClass:"grid"},[e("b-card-group",{attrs:{deck:""}},[e("b-card",{staticClass:"mb-4",scopedSlots:t._u([{key:"footer",fn:function(){return[e("b-list-group",{attrs:{flush:""}},[""!=o.f2f?e("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[t._v("\n In-Person Course\n "),t._v(" "),e("b-button",{attrs:{variant:"outline-secondary",disabled:""}},[t._v("\n Closed\n ")])],1):t._e(),t._v(" "),""!=o.online?e("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[t._v("\n Online Course\n "),e("b-button",{attrs:{href:o.online,target:"_blank",variant:"primary"}},[t._v("\n Start\n ")])],1):t._e(),t._v(" "),""==o.f2f&&""==o.online?e("b-list-group-item",{staticClass:"coming-soon ml-auto"},[e("i",[t._v("Coming Soon")])]):t._e()],1)]},proxy:!0}],null,!0)},[e("b-card-title",[e("NuxtLink",{staticClass:"course-link",attrs:{to:"/develop/"+o.slug}},[t._v(t._s(o.title))])],1),t._v(" "),e("b-card-text",[t._v("\n "+t._s(o.description)+"\n ")])],1)],1)],1)})),1)],1)],1),t._v(" "),e("b-row",[e("b-col",[e("h4",{staticClass:"mt-5"},[t._v("Related Technologies")]),t._v(" "),e("b-row",{staticClass:"pr-md-0 pr-lg-5",attrs:{cols:"1","cols-md":"2","cols-lg":"3"}},t._l(t.courses.filter((function(t){return t.related.includes("R")})),(function(o){return e("b-col",{key:o.title,staticClass:"grid"},[e("b-card-group",{attrs:{deck:""}},[e("b-card",{staticClass:"mb-4",scopedSlots:t._u([{key:"footer",fn:function(){return[e("b-list-group",{attrs:{flush:""}},[""!=o.f2f?e("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[t._v("\n In-Person Course\n "),e("b-button",{directives:[{name:"b-modal",rawName:"v-b-modal.booking-modal",modifiers:{"booking-modal":!0}}],attrs:{variant:"primary"},on:{click:function(e){t.selectedCourse=o}}},[t._v("\n Book\n ")])],1):t._e(),t._v(" "),""!=o.online?e("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[t._v("\n Online Course\n "),e("b-button",{attrs:{href:o.online,target:"_blank",variant:"primary"}},[t._v("\n Start\n ")])],1):t._e(),t._v(" "),""==o.f2f&&""==o.online?e("b-list-group-item",{staticClass:"coming-soon ml-auto"},[e("i",[t._v("Coming Soon")])]):t._e()],1)]},proxy:!0}],null,!0)},[e("b-card-title",[e("NuxtLink",{staticClass:"course-link",attrs:{to:"/develop/"+o.slug}},[t._v("\n "+t._s(o.title)+"\n ")])],1),t._v(" "),e("b-card-text",[t._v("\n "+t._s(o.description)+"\n ")])],1)],1)],1)})),1)],1)],1)],1)],1)],1)],1),t._v(" "),e("b-modal",{attrs:{id:"guidance-modal",size:"xl",scrollable:"",title:t.selectedResource.title}},[t._v("\n If this content doesn't load, "),e("a",{attrs:{target:"_blank",href:t.selectedResource.richLink}},[t._v("click here")]),t._v(" to open in a browser tab.\n "),e("br"),t._v(" "),e("br"),t._v(" "),e("vue-markdown",{staticClass:"guidance-md",attrs:{source:t.selectedResource.md}})],1),t._v(" "),e("b-modal",{attrs:{id:"booking-modal",size:"xl"}},[t._v("\n If this content doesn't load, "),e("a",{attrs:{target:"_blank",href:t.selectedCourse.f2f}},[t._v("click here")]),t._v(" to open in a browser tab.\n "),e("br"),t._v(" "),t.selectedCourse.f2f?e("div",[e("iframe",{staticStyle:{border:"none",width:"100%"},attrs:{width:"640px",height:"1550px",src:t.selectedCourse.f2f,frameborder:"0",marginwidth:"0",marginheight:"0",allowfullscreen:"",webkitallowfullscreen:"",mozallowfullscreen:"",msallowfullscreen:""}})]):t._e()])],1)}),[],!1,null,null,null);e.default=component.exports}}]); \ No newline at end of file diff --git a/docs/_nuxt/740b4c6.js b/docs/_nuxt/740b4c6.js new file mode 100644 index 0000000..d02cbd6 --- /dev/null +++ b/docs/_nuxt/740b4c6.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{247:function(e){e.exports=JSON.parse('[{"title":"Introduction to R","slug":"introduction-to-r","description":"A beginner\'s course for learning R from the basics.","overview":"In Introduction to R, you\'re given a brief introduction to programming before building the foundations in R. Throughout the course, you will build from these foundations and master the basics of this widely used open source language, including data structures, flow, exploration, and wrangling. This is all supported with live coding and quizzes so you can be sure you know what you\'re doing. \\n\\nWhile the use of R continues to grow globally, PHS continues to secure the infrastructure and tools for everyone to make the best use of this technology. This course is suitable for everyone new to R and provides the knowledge to build topic specific skills.","link":"https://scotland.shinyapps.io/phs-learnr-intro/","f2f":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmmiLaHlezqJOh-fBWH8cGyhUQUlQMVNZMk1aTjdCMllRTFJNWkZKTFNSMy4u","online":"https://scotland.shinyapps.io/phs-learnr-intro/","image":"","type":["In-Person Course","Online Course"],"technology":"R","level":"1","packages":["base"],"tags":["r"],"prereqs":"none","timetable":"3 half days (plus a pre-course check)","materials":"https://github.com/Public-Health-Scotland/learnr-intro","related":[]},{"title":"Introduction to Git","slug":"introduction-to-git","description":"A beginner\'s course for learning git (including GitHub and Gitea) from the basics.","overview":"In Introduction to Git, there is no assumption of any background in Git, or even version control. Instead, this introduces you to version control topics and provides a deeper understanding of how things work, all from the perspective of an R user. The practical elements of the course utilise the user interface on RStudio so, while there\'s no prerequisite on R, you should be familiar with the RStudio software. \\n\\nVersion control is a powerful tool across software engineering disciplines. At a high level, it allows you to keep track of changes, undoing them when necessary, and collaborating at scale. This course introduces you to Git as a version control tool (arguably the most popular), GitHub and Gitea. You\'ll learn about repositories, commits, branches, and pull requests.","link":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmvpRU_LHr_5KrgEqWKwVEvJUOTdKTjRKMUZYUVlEM0E2NE9GQkdOVjBESCQlQCN0PWcu&embed=true","f2f":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmvpRU_LHr_5KrgEqWKwVEvJUOTdKTjRKMUZYUVlEM0E2NE9GQkdOVjBESCQlQCN0PWcu","online":"","image":"","type":["In-Person Course"],"technology":"Git","level":"1","packages":[],"tags":["git"],"prereqs":"none","timetable":"1 half day (plus both a pre-course check and post-course drop-in)","materials":"https://github.com/Public-Health-Scotland/learn-git","related":["R","Python"]},{"title":"Data Visualisation in R","slug":"data-visualisation-in-r","description":"Learn about data viz using R. This course has a focus on ggplot2 but includes an introduction to plotly.","overview":"Data visualisation is useful across all roles that interact with data, it\'s important that these are meaningful and visually appealing too. Building from the Introduction to R course, this course covers the structure on which visualisations are built and then, more practically, how to actually build them. \\n\\nThe ggplot2 package is the primary R package that is used across the organisation and in this course. However, this package is built on the same underlying structure as the plotly package. When things need to get interactive on your visualisations, you\'ll need to use plotly.","link":"https://scotland.shinyapps.io/phs-learnr-dataviz/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-dataviz/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","ggplot2","plotly"],"tags":["r","viz"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Introduction to R Markdown","slug":"introduction-to-r-markdown","description":"Learn about building reports and other functionality of R Markdown.","overview":"R Markdown is used to create outputs such as PDFs, HTML, or even a Shiny app. These are generated from the R Markdown file which simply lays out the document with a minimal and easy to use syntax. You can also include executable code chunks, allowing you to produce visualisations and analytical outputs. R Markdown is already widely used across the organisation, with templates available for publications, presentations, and even training course apps. \\n\\nIn this course you\'ll learn the foundations and practicalities of using R Markdown. While there\'s enough theory to understand how things work, there\'s practical exercises to get familiar and embed your learning. You\'ll need to do most of the practical exercises on RStudio (desktop or server) as the training app can\'t show the outputs.","link":"https://scotland.shinyapps.io/phs-learnr-rmarkdown/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-rmarkdown/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","rmarkdown"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"SQL in R","slug":"sql-in-r","description":"Learn about writing and using SQL commands in R.","overview":"Using SQL is is applicable to so many roles, it\'s almost inevitable that you\'ll come across it at some stage. However, this could also mean that you inherit pre-written SQL or be dealing with massive quantities of data. Using SQL doesn\'t need to be intimidating but it\'s going to make your life a lot easier if you know what you\'re doing and how to do it efficiently. This course is a complete introduction to SQL from the foundations up, you can use the first few chapters to learn about SQL and leave it there. However, the course continues and shows how that SQL code can be integrated into R, making your coding experience much more seamless. The course concludes with a taster for using an R package, dbplyr. This package allows you to use familiar R syntax (if you\'re familiar with the Tidyverse) rather than using SQL at all.","link":"https://scotland.shinyapps.io/phs-learnr-sql/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-sql/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","odbc","dbplyr"],"tags":["r","sql"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Reproducible Environments in R","slug":"reproducible-environments-in-r","description":"Learn about creating and using reproducible environments in R.","overview":"This course is a complete introduction to creating and using reproducible environments in R, using the `{renv}` package. It covers reproducibility and the basics of working with environments. The course continues and shows how environments are managed with code, all integrated into R, making your coding experience and collaboration much more seamless. This will be particularly useful for adopting RAP principles, or ensuring the full pipeline is managed within R.","link":"https://scotland.shinyapps.io/phs-learnr-renv","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-renv","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","renv"],"tags":["r","renv"],"prereqs":["Introduction to R","Introduction to Git"],"timetable":"","materials":"","related":[]},{"title":"R Shiny","slug":"r-shiny","description":"Learn how to develop web apps and dashboards using R Shiny.","overview":"R Shiny is an R package that allows you to develop interactive web apps. The use of R Shiny is expansive and flexible, with the ability to integrate with R Markdown and other tools. With an element of web development practices, the course builds the knowledge of Shiny through practical exercises but is thorough enough to cover how each component works. In this course you\'ll learn how a complete R shiny comes together, from forming your data, developing user interfaces with interactive data visualisations that conform to PHS standards, right through to deploying for others to use on the web.","link":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmibxHi_yzZ9Pvduh8IqoF_5UMk9RVVBZU0ExWlUwUFdMMjI4VFNVRTRTUSQlQCN0PWcu","f2f":"https://forms.office.com/Pages/ResponsePage.aspx?id=veDvEDCgykuAnLXmdF5JmibxHi_yzZ9Pvduh8IqoF_5UMk9RVVBZU0ExWlUwUFdMMjI4VFNVRTRTUSQlQCN0PWcu","online":"","image":"","type":["In-Person Course"],"technology":"R","level":"3","packages":["base","shiny"],"tags":["r"],"prereqs":["Introduction to R","Data Visualisation in R"],"timetable":"3 days (plus a pre-course check)","materials":"https://github.com/Public-Health-Scotland/RShiny-training","related":[]},{"title":"PHS Methods","slug":"phs-methods","description":"The first step in taking R further. Learn about the `phsmethods` package created by and for staff in PHS.","overview":"","link":"https://scotland.shinyapps.io/phs-learnr-phsmethods/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-phsmethods/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","phsmethods"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Introduction to Open Data","slug":"introduction-to-open-data","description":"Learn about open data, what it is, why we use it, and how to interact with our open data using R.","overview":"Open data is the name for publicly released data which is made freely available to everyone to use and reuse in any way they like. With open data, anyone is able to make use of its potential: improving, innovating, and making better decisions. In this course, we provide a theoretical background of open data, building on PHS practices, and then getting practical with some coding examples in R. ","link":"https://scotland.shinyapps.io/phs-learnr-opendata","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-opendata","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","ckanr"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"OpenXLSX","slug":"openxlsx","description":"Learn about the openxlsx package to work with Excel files within R.","overview":"The openxlsx package is a great way to work with Excel files within R. It allows you to read, write, and modify Excel files, and is a great alternative to the readxl and writexl packages. This course is a complete introduction to the openxlsx package, from the foundations up. It covers the basics of working with Excel files, including reading, writing, and modifying data. It also covers some more advanced topics, such as working with multiple worksheets, formatting, and using functions to automate tasks. This course is designed to be a complete introduction to the openxlsx package, so you can use the first few chapters to learn about the package and leave it there. However, the course continues and shows how that openxlsx code can be integrated into R, making your coding experience much more seamless. This will be particularly useful for adopting RAP principles, or ensuring the full pipeline is managed within R.","link":"https://scotland.shinyapps.io/phs-learnr-openxlsx/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-openxlsx/","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","openxlsx"],"tags":["r","excel"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"SPSS to R","slug":"spss-to-r","description":"A companion to the Intro to R course for SPSS users, understanding the differences and how to start translating SPSS to R.","overview":"While not repeating the content of the Introduction to R course, this course attempts to support existing SPSS users to transition to R. The course follows the same structure to allow you to compare and see how the code varies between the different technologies.","link":"https://scotland.shinyapps.io/phs-learnr-spsstor/","f2f":"","online":"https://scotland.shinyapps.io/phs-learnr-spsstor/","image":"","type":["Online Course"],"technology":"R","level":"1","packages":["base"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Introduction to Python","slug":"introduction-to-python","description":"A beginner\'s course for learning Python from the basics.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"1","packages":[],"tags":["python"],"prereqs":"none","timetable":"","materials":"","related":[]},{"title":"R Functions","slug":"r-functions","description":"R is a functional programming language. So let\'s learn how to write some functions.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Python Functions","slug":"python-functions","description":"Learn how to write functions in Python.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"2","packages":[],"tags":["python"],"prereqs":["Introduction to Python"],"timetable":"","materials":"","related":[]},{"title":"Dates & Times in R","slug":"dates-and-times-in-r","description":"Learn how to work with dates and times in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","lubridate"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"R Control Structures","slug":"r-control-structures","description":"Learn how to control the flow of execution in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","purrr"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Python Control Structures","slug":"python-control-structures","description":"Learn how to control the flow of execution in Python.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"2","packages":[],"tags":["python"],"prereqs":["Introduction to Python"],"timetable":"","materials":"","related":[]},{"title":"Data Cleaning in R","slug":"data-cleaning-in-r","description":"Learn about data cleaning in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","stringr","forcats","tidyr","tidylog","janitor"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Testing in R","slug":"testing-in-r","description":"Learn about testing in R.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"2","packages":["base","testthat"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]},{"title":"Data Viz in Python","slug":"data-viz-in-python","description":"Learn about data visualisation using Python.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"Python","level":"2","packages":["plotly"],"tags":["python","viz"],"prereqs":["Introduction to Python"],"timetable":"","materials":"","related":[]},{"title":"R Packages","slug":"r-packages","description":"Learn how to build your own R packages and get them ready for CRAN.","overview":"","link":"","f2f":"","online":"","image":"","type":["Online Course"],"technology":"R","level":"3","packages":["base"],"tags":["r"],"prereqs":["Introduction to R"],"timetable":"","materials":"","related":[]}]')},276:function(e){e.exports=JSON.parse('[{"title":"Git Guide","slug":"git-guide","description":"Textbook for using git and GitHub within PHS.","link":"https://public-health-scotland.github.io/git-guide/","richLink":"","image":"","type":"Textbook","technology":"Git","tags":["git"]}]')},306:function(e,t,o){var content=o(439);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(60).default)("58b80c99",content,!0,{sourceMap:!1})},438:function(e,t,o){"use strict";o(306)},439:function(e,t,o){var n=o(59)((function(i){return i[1]}));n.push([e.i,".filter-row{align-items:center;display:flex}input{flex-grow:1;min-width:120px}.filter{flex:0 1 auto}.head-card{border:none}.tag-cloud{padding:0 10px}.tag-button{margin:2px 0}b-button{margin-top:red}b-dropdown{margin-right:15px}.alert-dismissible{margin-top:1rem}.grid{display:grid}.multiselect__option--highlight,.multiselect__option--highlight:after{background:#80ba27!important}.multiselect__option--selected.multiselect__option--highlight,.multiselect__option--selected.multiselect__option--highlight:after{background:#bd27b9!important}.multiselect__tag{background:#80ba27!important}.card-footer{background-color:#fff}.btn-primary{background-color:#0078d4;float:right}.course-link{color:#000}.coming-soon{color:#0078d4}.guidance-md{padding:0 20px}.guidance-md img{width:100%}footer{margin-bottom:50px;margin-top:50px}",""]),n.locals={},e.exports=n},455:function(e,t,o){"use strict";o.r(t);o(96),o(126);var n=o(22),r=o(21),l=(o(61),o(280),o(34),o(12),o(35),o(77),o(50),o(1),o(281)),c=o.n(l),d=o(254),h=o.n(d),f=o(247),m=o(276),y={components:{Multiselect:c.a,VueMarkdown:h.a},data:function(){return{courses:f,resources:m,selectedTags:[],selectedTypes:[],selectedCourse:{},selectedResource:{},search:"",filterSelected:["Online Course","In-Person Course","Textbook"]}},computed:{tags:function(){var e=[];return this.courses.forEach((function(t){return e=e.concat(t.tags)})),Object(r.a)(new Set(e))},types:function(){var e=[];return this.courses.forEach((function(t){return e=e.concat(t.type)})),Object(r.a)(new Set(e))},displayCourses:function(){var e=this,t=this.courses;return this.filterSelected.includes("Coming Soon")||(t=t.filter((function(e){return""!=e.f2f||""!=e.online}))),this.search.length>0&&this.search.length<=1?t=t.filter((function(t){return!!t.tags.includes(e.search.toLowerCase())})):this.search.length>1&&(t=t.filter((function(t){return!!t.title.toLowerCase().includes(e.search.toLowerCase())||!!t.description.toLowerCase().includes(e.search.toLowerCase())}))),t=this.filterSelected.includes("In-Person Course")&&this.filterSelected.includes("Online Course")?t.filter((function(e){if(e.type.includes("In-Person Course")||e.type.includes("Online Course"))return!0})):this.filterSelected.includes("In-Person Course")?t.filter((function(e){if(e.type.includes("In-Person Course"))return!0})):this.filterSelected.includes("Online Course")?t.filter((function(e){if(e.type.includes("Online Course"))return!0})):t.filter((function(e){return!e.type.includes("In-Person Course")&&!e.type.includes("Online Course")}))},displayResources:function(){var e=this,t=this.resources;return this.filterSelected.includes("Coming Soon")||(t=t.filter((function(e){return""!=e.link}))),this.search.length>0&&this.search.length<=1?t=t.filter((function(t){return!!t.tags.includes(e.search.toLowerCase())})):this.search.length>1&&(t=t.filter((function(t){return!!t.title.toLowerCase().includes(e.search.toLowerCase())||!!t.description.toLowerCase().includes(e.search.toLowerCase())}))),t=t.filter((function(t){return!!e.filterSelected.includes(t.type)}))}},methods:{showGuidance:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,t.$axios.$get("https://secret-ocean-49799.herokuapp.com/"+e.link);case 2:e.md=o.sent,t.selectedResource=e;case 4:case"end":return o.stop()}}),o)})))()}},created:function(){this.$route.query.type&&(this.filterSelected=this.$route.query.type,this.$router.push({query:{}}))}},v=y,w=(o(438),o(265),o(51)),component=Object(w.a)(v,(function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"title-container"},[t("b-row",{attrs:{"no-gutters":""}},[t("b-col",{attrs:{md:"7"}},[t("b-card",{staticClass:"overflow-hidden head-card",attrs:{"no-body":""}}),e._v(" "),t("b-card-body",[t("h3",[e._v("Develop")]),e._v(" "),t("b-card-text",{staticClass:"mb-4"},[e._v("\n Training and support materials related to Data Science\n ")]),e._v(" "),t("b-dropdown",{attrs:{variant:"outline-primary",text:"Training Pathways"}},[t("b-dropdown-item",{on:{click:function(t){return e.$router.push("/develop/r-pathway")}}},[e._v("R Pathway")])],1)],1)],1),e._v(" "),t("b-col",{attrs:{md:"1"}}),e._v(" "),t("b-col",{attrs:{md:"4","align-self":"center"}},[t("b-form-input",{staticClass:"search mt-5",attrs:{type:"search",placeholder:"Search"},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}}),e._v(" "),t("b-dropdown",{staticClass:"filter float-right mt-2 mr-3",attrs:{variant:"outline-secondary",right:"",text:"Category"}},[t("b-dropdown-form",{staticStyle:{width:"200px"}},[t("b-form-group",{attrs:{label:"Filter on type:"},scopedSlots:e._u([{key:"default",fn:function(o){var n=o.ariaDescribedby;return[t("b-form-checkbox-group",{attrs:{"aria-describedby":n,name:"filterSelected",stacked:""},model:{value:e.filterSelected,callback:function(t){e.filterSelected=t},expression:"filterSelected"}},[t("b-form-checkbox",{attrs:{value:"In-Person Course"}},[e._v("In-Person Course")]),e._v(" "),t("b-form-checkbox",{attrs:{value:"Online Course"}},[e._v("Online Course")]),e._v(" "),t("b-form-checkbox",{attrs:{value:"Textbook"}},[e._v("Textbook")]),e._v(" "),t("b-form-checkbox",{attrs:{value:"Coming Soon"}},[t("i",[e._v("Coming Soon")])])],1)]}}])})],1)],1)],1)],1),e._v(" "),t("b-row",{attrs:{"align-h":"end"}})],1),e._v(" "),t("b-row",{attrs:{cols:"1"}},[t("b-col",[t("b-alert",{attrs:{show:"",variant:"secondary",dismissible:""}},[e._v("\n In-person courses, including waitlists, are currently closed. Online courses are still available.\n ")])],1)],1),e._v(" "),t("b-row",{staticClass:"mt-4",attrs:{cols:"1","cols-sm":"2","cols-lg":"3"}},[t("b-col",[t("h4",{staticClass:"mb-3"},[e._v("Courses")])])],1),e._v(" "),t("b-row",[0==e.displayCourses.length?t("b-col",[t("p",[e._v("Filter and search query return "),t("strong",[e._v("no results")]),e._v(". If you can't find what you're looking for, why not "),t("a",{attrs:{href:"mailto:phs.datascience@phs.scot; phs.staffdevelopment@phs.scot?Subject=DSKB - Course Enquiry"}},[e._v("email us")]),e._v("?")])]):e._e()],1),e._v(" "),t("b-row",{attrs:{cols:"1","cols-sm":"2","cols-lg":"3"}},e._l(e.displayCourses,(function(o){return t("b-col",{key:o.title,staticClass:"grid"},[t("b-card-group",{attrs:{deck:""}},[t("b-card",{staticClass:"mb-4",scopedSlots:e._u([{key:"footer",fn:function(){return[t("b-list-group",{attrs:{flush:""}},[""!=o.f2f?t("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[e._v("\n In-Person Course\n "),e._v(" "),t("b-button",{attrs:{variant:"outline-secondary",disabled:""}},[e._v("\n Closed\n ")])],1):e._e(),e._v(" "),""!=o.online?t("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[e._v("\n Online Course\n "),t("b-button",{attrs:{href:o.online,target:"_blank",variant:"primary"}},[e._v("\n Start\n ")])],1):e._e(),e._v(" "),""==o.f2f&&""==o.online?t("b-list-group-item",{staticClass:"coming-soon ml-auto"},[t("i",[e._v("Coming Soon")])]):e._e()],1)]},proxy:!0}],null,!0)},[t("b-card-title",[t("NuxtLink",{staticClass:"course-link",attrs:{to:"develop/"+o.slug}},[e._v(e._s(o.title))])],1),e._v(" "),t("b-card-text",[e._v("\n "+e._s(o.description)+"\n ")])],1)],1)],1)})),1),e._v(" "),t("b-row",{attrs:{cols:"1","cols-sm":"2","cols-lg":"3"}},[t("b-col",[t("h4",{staticClass:"mb-3 mt-5"},[e._v("Other Resources")])])],1),e._v(" "),t("b-row",[0==e.displayResources.length?t("b-col",[t("p",[e._v("Filter and search query return "),t("strong",[e._v("no results")]),e._v(". If you can't find what you're looking for, why not "),t("a",{attrs:{href:"mailto:phs.datascience@phs.scot; phs.staffdevelopment@phs.scot?Subject=DSKB - Resource Enquiry"}},[e._v("email us")]),e._v("?")])]):e._e()],1),e._v(" "),t("b-row",{attrs:{cols:"1","cols-sm":"2","cols-lg":"3"}},e._l(e.displayResources,(function(o){return t("b-col",{key:o.title,staticClass:"grid"},[t("b-card-group",{attrs:{deck:""}},[t("b-card",{staticClass:"mb-4",attrs:{title:o.title},scopedSlots:e._u([{key:"footer",fn:function(){return[t("b-list-group",{attrs:{flush:""}},["Guidance"==o.type?t("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[e._v("\n Guidance\n "),t("b-button",{attrs:{href:o.richLink,target:"_blank",variant:"primary"}},[e._v("\n Open\n ")])],1):e._e(),e._v(" "),"Textbook"==o.type?t("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[e._v("\n Textbook\n "),t("b-button",{attrs:{href:o.link,target:"_blank",variant:"primary"}},[e._v("\n Open\n ")])],1):e._e()],1)]},proxy:!0}],null,!0)},[t("b-card-text",[e._v("\n "+e._s(o.description)+"\n ")])],1)],1)],1)})),1),e._v(" "),t("b-modal",{attrs:{id:"guidance-modal",size:"xl",scrollable:"",title:e.selectedResource.title}},[e._v("\n If this content doesn't load, "),t("a",{attrs:{target:"_blank",href:e.selectedResource.richLink}},[e._v("click here")]),e._v(" to open in a browser tab.\n "),t("br"),e._v(" "),t("br"),e._v(" "),t("vue-markdown",{staticClass:"guidance-md",attrs:{source:e.selectedResource.md}})],1),e._v(" "),t("b-modal",{attrs:{id:"booking-modal",size:"xl"}},[e._v("\n If this content doesn't load, "),t("a",{attrs:{target:"_blank",href:e.selectedCourse.f2f}},[e._v("click here")]),e._v(" to open in a browser tab.\n "),t("br"),e._v(" "),e.selectedCourse.f2f?t("div",[t("iframe",{staticStyle:{border:"none",width:"100%"},attrs:{width:"640px",height:"1550px",src:e.selectedCourse.f2f,frameborder:"0",marginwidth:"0",marginheight:"0",allowfullscreen:"",webkitallowfullscreen:"",mozallowfullscreen:"",msallowfullscreen:""}})]):e._e()])],1)}),[],!1,null,null,null);t.default=component.exports}}]); \ No newline at end of file diff --git a/docs/_nuxt/a798dc2.js b/docs/_nuxt/a798dc2.js new file mode 100644 index 0000000..bb23870 --- /dev/null +++ b/docs/_nuxt/a798dc2.js @@ -0,0 +1 @@ +!function(e){function r(data){for(var r,n,f=data[0],l=data[1],d=data[2],i=0,h=[];i0&&this.search.length<=1?t=t.filter((function(t){return!!t.tags.includes(e.search.toLowerCase())})):this.search.length>1&&(t=t.filter((function(t){return!!t.title.toLowerCase().includes(e.search.toLowerCase())||!!t.description.toLowerCase().includes(e.search.toLowerCase())}))),t=this.filterSelected.includes("In-Person Course")&&this.filterSelected.includes("Online Course")?t.filter((function(e){if(e.type.includes("In-Person Course")||e.type.includes("Online Course"))return!0})):this.filterSelected.includes("In-Person Course")?t.filter((function(e){if(e.type.includes("In-Person Course"))return!0})):this.filterSelected.includes("Online Course")?t.filter((function(e){if(e.type.includes("Online Course"))return!0})):t.filter((function(e){return!e.type.includes("In-Person Course")&&!e.type.includes("Online Course")}))},displayResources:function(){var e=this,t=this.resources;return this.filterSelected.includes("Coming Soon")||(t=t.filter((function(e){return""!=e.link}))),this.search.length>0&&this.search.length<=1?t=t.filter((function(t){return!!t.tags.includes(e.search.toLowerCase())})):this.search.length>1&&(t=t.filter((function(t){return!!t.title.toLowerCase().includes(e.search.toLowerCase())||!!t.description.toLowerCase().includes(e.search.toLowerCase())}))),t=t.filter((function(t){return!!e.filterSelected.includes(t.type)}))}},methods:{showGuidance:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,t.$axios.$get("https://secret-ocean-49799.herokuapp.com/"+e.link);case 2:e.md=o.sent,t.selectedResource=e;case 4:case"end":return o.stop()}}),o)})))()}},created:function(){this.$route.query.type&&(this.filterSelected=this.$route.query.type,this.$router.push({query:{}}))}},v=y,w=(o(438),o(265),o(51)),component=Object(w.a)(v,(function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"title-container"},[t("b-row",{attrs:{"no-gutters":""}},[t("b-col",{attrs:{md:"7"}},[t("b-card",{staticClass:"overflow-hidden head-card",attrs:{"no-body":""}}),e._v(" "),t("b-card-body",[t("h3",[e._v("Develop")]),e._v(" "),t("b-card-text",{staticClass:"mb-4"},[e._v("\n Training and support materials related to Data Science\n ")]),e._v(" "),t("b-dropdown",{attrs:{variant:"outline-primary",text:"Training Pathways"}},[t("b-dropdown-item",{on:{click:function(t){return e.$router.push("/develop/r-pathway")}}},[e._v("R Pathway")])],1)],1)],1),e._v(" "),t("b-col",{attrs:{md:"1"}}),e._v(" "),t("b-col",{attrs:{md:"4","align-self":"center"}},[t("b-form-input",{staticClass:"search mt-5",attrs:{type:"search",placeholder:"Search"},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}}),e._v(" "),t("b-dropdown",{staticClass:"filter float-right mt-2 mr-3",attrs:{variant:"outline-secondary",right:"",text:"Category"}},[t("b-dropdown-form",{staticStyle:{width:"200px"}},[t("b-form-group",{attrs:{label:"Filter on type:"},scopedSlots:e._u([{key:"default",fn:function(o){var n=o.ariaDescribedby;return[t("b-form-checkbox-group",{attrs:{"aria-describedby":n,name:"filterSelected",stacked:""},model:{value:e.filterSelected,callback:function(t){e.filterSelected=t},expression:"filterSelected"}},[t("b-form-checkbox",{attrs:{value:"In-Person Course"}},[e._v("In-Person Course")]),e._v(" "),t("b-form-checkbox",{attrs:{value:"Online Course"}},[e._v("Online Course")]),e._v(" "),t("b-form-checkbox",{attrs:{value:"Textbook"}},[e._v("Textbook")]),e._v(" "),t("b-form-checkbox",{attrs:{value:"Coming Soon"}},[t("i",[e._v("Coming Soon")])])],1)]}}])})],1)],1)],1)],1),e._v(" "),t("b-row",{attrs:{"align-h":"end"}})],1),e._v(" "),t("b-row",{attrs:{cols:"1"}},[t("b-col",[t("b-alert",{attrs:{show:"",variant:"secondary",dismissible:""}},[e._v("\n In-person courses, including waitlists, are currently closed. Online courses are still available.\n ")])],1)],1),e._v(" "),t("b-row",{staticClass:"mt-4",attrs:{cols:"1","cols-sm":"2","cols-lg":"3"}},[t("b-col",[t("h4",{staticClass:"mb-3"},[e._v("Courses")])])],1),e._v(" "),t("b-row",[0==e.displayCourses.length?t("b-col",[t("p",[e._v("Filter and search query return "),t("strong",[e._v("no results")]),e._v(". If you can't find what you're looking for, why not "),t("a",{attrs:{href:"mailto:phs.datascience@phs.scot; phs.staffdevelopment@phs.scot?Subject=DSKB - Course Enquiry"}},[e._v("email us")]),e._v("?")])]):e._e()],1),e._v(" "),t("b-row",{attrs:{cols:"1","cols-sm":"2","cols-lg":"3"}},e._l(e.displayCourses,(function(o){return t("b-col",{key:o.title,staticClass:"grid"},[t("b-card-group",{attrs:{deck:""}},[t("b-card",{staticClass:"mb-4",scopedSlots:e._u([{key:"footer",fn:function(){return[t("b-list-group",{attrs:{flush:""}},[""!=o.f2f?t("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[e._v("\n In-Person Course\n "),e._v(" "),t("b-button",{attrs:{variant:"outline-secondary",disabled:""}},[e._v("\n Closed\n ")])],1):e._e(),e._v(" "),""!=o.online?t("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[e._v("\n Online Course\n "),t("b-button",{attrs:{href:o.online,target:"_blank",variant:"primary"}},[e._v("\n Start\n ")])],1):e._e(),e._v(" "),""==o.f2f&&""==o.online?t("b-list-group-item",{staticClass:"coming-soon ml-auto"},[t("i",[e._v("Coming Soon")])]):e._e()],1)]},proxy:!0}],null,!0)},[t("b-card-title",[t("NuxtLink",{staticClass:"course-link",attrs:{to:"develop/"+o.slug}},[e._v(e._s(o.title))])],1),e._v(" "),t("b-card-text",[e._v("\n "+e._s(o.description)+"\n ")])],1)],1)],1)})),1),e._v(" "),t("b-row",{attrs:{cols:"1","cols-sm":"2","cols-lg":"3"}},[t("b-col",[t("h4",{staticClass:"mb-3 mt-5"},[e._v("Other Resources")])])],1),e._v(" "),t("b-row",[0==e.displayResources.length?t("b-col",[t("p",[e._v("Filter and search query return "),t("strong",[e._v("no results")]),e._v(". If you can't find what you're looking for, why not "),t("a",{attrs:{href:"mailto:phs.datascience@phs.scot; phs.staffdevelopment@phs.scot?Subject=DSKB - Resource Enquiry"}},[e._v("email us")]),e._v("?")])]):e._e()],1),e._v(" "),t("b-row",{attrs:{cols:"1","cols-sm":"2","cols-lg":"3"}},e._l(e.displayResources,(function(o){return t("b-col",{key:o.title,staticClass:"grid"},[t("b-card-group",{attrs:{deck:""}},[t("b-card",{staticClass:"mb-4",attrs:{title:o.title},scopedSlots:e._u([{key:"footer",fn:function(){return[t("b-list-group",{attrs:{flush:""}},["Guidance"==o.type?t("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[e._v("\n Guidance\n "),t("b-button",{attrs:{href:o.richLink,target:"_blank",variant:"primary"}},[e._v("\n Open\n ")])],1):e._e(),e._v(" "),"Textbook"==o.type?t("b-list-group-item",{staticClass:"d-flex justify-content-between align-items-center"},[e._v("\n Textbook\n "),t("b-button",{attrs:{href:o.link,target:"_blank",variant:"primary"}},[e._v("\n Open\n ")])],1):e._e()],1)]},proxy:!0}],null,!0)},[t("b-card-text",[e._v("\n "+e._s(o.description)+"\n ")])],1)],1)],1)})),1),e._v(" "),t("b-modal",{attrs:{id:"guidance-modal",size:"xl",scrollable:"",title:e.selectedResource.title}},[e._v("\n If this content doesn't load, "),t("a",{attrs:{target:"_blank",href:e.selectedResource.richLink}},[e._v("click here")]),e._v(" to open in a browser tab.\n "),t("br"),e._v(" "),t("br"),e._v(" "),t("vue-markdown",{staticClass:"guidance-md",attrs:{source:e.selectedResource.md}})],1),e._v(" "),t("b-modal",{attrs:{id:"booking-modal",size:"xl"}},[e._v("\n If this content doesn't load, "),t("a",{attrs:{target:"_blank",href:e.selectedCourse.f2f}},[e._v("click here")]),e._v(" to open in a browser tab.\n "),t("br"),e._v(" "),e.selectedCourse.f2f?t("div",[t("iframe",{staticStyle:{border:"none",width:"100%"},attrs:{width:"640px",height:"1550px",src:e.selectedCourse.f2f,frameborder:"0",marginwidth:"0",marginheight:"0",allowfullscreen:"",webkitallowfullscreen:"",mozallowfullscreen:"",msallowfullscreen:""}})]):e._e()])],1)}),[],!1,null,null,null);t.default=component.exports}}]); \ No newline at end of file diff --git a/docs/admin/index.html b/docs/admin/index.html index 52cce92..e665e9f 100644 --- a/docs/admin/index.html +++ b/docs/admin/index.html @@ -1,9 +1,9 @@ - PHS Data Science - Knowledge Base + PHS Data Science - Knowledge Base
Loading...
- + diff --git a/docs/develop/index.html b/docs/develop/index.html index 52cce92..e665e9f 100644 --- a/docs/develop/index.html +++ b/docs/develop/index.html @@ -1,9 +1,9 @@ - PHS Data Science - Knowledge Base + PHS Data Science - Knowledge Base
Loading...
- + diff --git a/docs/develop/r-pathway/index.html b/docs/develop/r-pathway/index.html index 52cce92..e665e9f 100644 --- a/docs/develop/r-pathway/index.html +++ b/docs/develop/r-pathway/index.html @@ -1,9 +1,9 @@ - PHS Data Science - Knowledge Base + PHS Data Science - Knowledge Base
Loading...
- + diff --git a/docs/docs/index.html b/docs/docs/index.html index 52cce92..e665e9f 100644 --- a/docs/docs/index.html +++ b/docs/docs/index.html @@ -1,9 +1,9 @@ - PHS Data Science - Knowledge Base + PHS Data Science - Knowledge Base
Loading...
- + diff --git a/docs/index.html b/docs/index.html index 52cce92..e665e9f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,9 +1,9 @@ - PHS Data Science - Knowledge Base + PHS Data Science - Knowledge Base
Loading...
- + diff --git a/docs/social/index.html b/docs/social/index.html index 52cce92..e665e9f 100644 --- a/docs/social/index.html +++ b/docs/social/index.html @@ -1,9 +1,9 @@ - PHS Data Science - Knowledge Base + PHS Data Science - Knowledge Base
Loading...
- +