diff --git a/.nojekyll b/.nojekyll index 26f3ff0..efad5a6 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -6fcaad57 \ No newline at end of file +f4105744 \ No newline at end of file diff --git a/listings.json b/listings.json index a90e577..3c49a7e 100644 --- a/listings.json +++ b/listings.json @@ -9,7 +9,10 @@ }, { "listing": "/units/d1-02-structure.html", - "items": [] + "items": [ + "/materials/d1-02-structure/ex-1.html", + "/materials/d1-02-structure/codealong-1.html" + ] }, { "listing": "/schedule.html", diff --git a/materials/d1-01-welcome/index.html b/materials/d1-01-welcome/index.html index d5429b8..dcb528a 100644 --- a/materials/d1-01-welcome/index.html +++ b/materials/d1-01-welcome/index.html @@ -368,7 +368,7 @@

Workshop Policies

Meet the Team!

-
+
Eric Nantz diff --git a/materials/d1-02-structure/codealong-1.html b/materials/d1-02-structure/codealong-1.html new file mode 100644 index 0000000..2762b44 --- /dev/null +++ b/materials/d1-02-structure/codealong-1.html @@ -0,0 +1,813 @@ + + + + + + + + + +Shiny in Production - Modules for LEGO attribute selections + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ +
+ + + + +
+ +
+
+

Modules for LEGO attribute selections

+
+ + + +
+ + + + +
+ + + +
+ +

As you make the transition to building production Shiny applications, Shiny modules are a very important tool to improve code organization and overall flow of your application. We will work together to build Shiny modules that let the user filter the underlying LEGO metadata based on a key variables in the overall data.

+
+

Requirements

+

Creste three inputs for the user to subset the LEGO metadata by the following key variables:

+
    +
  • Theme(s) associated with sets. Default should be all sets, but let the user customize selections with a search box.
  • +
  • Year range for when set was created. Give the user a visual cue of how many sets are present in each year.
  • +
  • Pre-defined ranges for how many parts are present in each set. Ranges are the following: +
      +
    • Small (1-50 parts)
    • +
    • Medium (51-200 parts)
    • +
    • Large (201 or more parts)
    • +
    • All sizes
    • +
  • +
+
+
+

Data

+

The following data sets included in the application contain the variables needed for the requirements (note that these snippets are a reduced sample of each source data set).

+
+

sets

+
+
dplyr::glimpse(sets)
+
+
+
+
Rows: 368
+Columns: 6
+$ set_num   <chr> "001-1", "002-1", "1030-1", "1038-1", "1039-1", "1237-1", "1…
+$ name      <chr> "Gears", "4.5V Samsonite Gears Motor Set", "TECHNIC I: Simpl…
+$ year      <dbl> 1965, 1965, 1985, 1985, 1986, 2001, 1999, 1999, 1999, 1999, …
+$ theme_id  <dbl> 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, …
+$ num_parts <dbl> 43, 3, 210, 120, 39, 56, 30, 29, 28, 26, 28, 103, 98, 64, 28…
+$ img_url   <chr> "https://cdn.rebrickable.com/media/sets/001-1.jpg", "https:/…
+
+
+
+
+

themes

+
+
dplyr::glimpse(themes)
+
+
+
+
Rows: 30
+Columns: 3
+$ theme_id  <dbl> 191, 708, 693, 398, 650, 234, 56, 604, 136, 736, 692, 676, 2…
+$ name      <chr> "Dark Forest", "The LEGO Batman Movie", "Monkie Kid", "FIRST…
+$ parent_id <dbl> 186, 697, NA, NA, 632, 233, 52, NA, 126, 501, 535, NA, 227, …
+
+
+
+
+
+

Plan

+
    +
  1. Create a new module R script (and possible a supporting R script) by using golem::add_module() in the dev/02_dev.R script.
  2. +
  3. Pick a Shiny input type that matches our requirements.
  4. +
  5. Ensure the server-side portion of the module returns the result of the selection, with additional post-processing if necessary.
  6. +
  7. Plug in the UI and server-side portions of the module in the main app_ui.R and app_server.R files, respectively.
  8. +
+
+
+

Solution (Theme Picker)

+

Create the module file with the following snippet:

+
+
golem::add_module(name = "theme_picker", with_test = FALSE)
+
+

While we could choose a selectInput that displays the name of the theme as the choices and allow multiple to be selected, we want to incorporate a search box with snappy performance. The virtualSelectInput from the {shinyWidgets} package is an excellent solution.

+

Since we have the themes data set available, we can also leverage the supporting function shinyWidgets::prepare_choices() to get the possible choices ready for the input. The module will simply return the selection as a reactive variable.

+
+
# UI portion
+mod_theme_picker_ui <- function(id, label = NULL) {
+  ns <- NS(id)
+
+  themes <- dplyr::arrange(themes, name)
+
+  choices_list <- shinyWidgets::prepare_choices(
+    themes,
+    label = name,
+    value = theme_id
+  )
+
+  tagList(
+    virtualSelectInput(
+      ns("virt_theme_id"),
+      label = label,
+      choices = choices_list,
+      selected = themes$theme_id,
+      multiple = TRUE,
+      search = TRUE
+    )
+  )
+}
+
+# server portion
+mod_theme_picker_server <- function(id){
+  moduleServer( id, function(input, output, session){
+    ns <- session$ns
+
+    return(reactive(input$virt_theme_id))
+  })
+}
+
+

At the bottom of the module script, {golem} automatically includes commented code for referencing the module UI and server blocks in your main Shiny application. We can copy them into the app_ui.R and app_server.R files.

+
+
# app_ui.R
+mod_theme_picker_ui("theme_picker_1")
+
+# app_server.R
+input_theme_ids <- mod_theme_picker_server("theme_picker_1")
+
+ + +
+ +
+ +
+ + + + + \ No newline at end of file diff --git a/materials/d1-02-structure/ex-1.html b/materials/d1-02-structure/ex-1.html new file mode 100644 index 0000000..613ac74 --- /dev/null +++ b/materials/d1-02-structure/ex-1.html @@ -0,0 +1,736 @@ + + + + + + + + + +Shiny in Production - Value Metrics Module + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ +
+ + + + +
+ +
+
+

Value Metrics Module

+
+ + + +
+ + + + +
+ + + +
+ +
+

Access Instructions

+

The project used for this particular exercise is hosted on Posit Cloud in this space. The project for this exercise is called modules-exercise1.

+
+
+

Exercise Instructions

+

Your task is to create a new Shiny module that displays three important metrics to the user:

+
    +
  • Total number of sets
  • +
  • Total number of parts among the sets
  • +
  • Total number of mini-figures
  • +
+

Note that these quantities are dependent on the user selections from the inputs contained in the left sidebar (theme, year, and parts range).

+

Keeping with the overall user interface style, you are recommended to use the value_box function from the {bslib} package. The metrics can be derived using the function below. In the application code, you will find reactive data frames called sets_rv and part_meta_rv which can be used in the parameters of the function below.

+
#' Derive key LEGO data set metrics
+#' 
+#' @param sets_rv data frame containing sets information
+#' @param part_meta_rv data frame containing parts metadata information
+#' 
+#' @import dplyr
+derive_widget_metrics <- function(sets_rv, part_meta_rv) {
+  # number of sets
+  n_sets <- length(unique(sets_rv$set_num))
+
+  # number of parts
+  n_parts <- sum(sets_rv$num_parts, na.rm = TRUE)
+
+  # number of minifigs
+  n_minifigs <- part_meta_rv |>
+    summarize(total_minifigs = sum(minifig_ind)) |>
+    collect() |>
+    pull(total_minifigs)
+
+  return(
+    list(
+      n_sets = n_sets,
+      n_parts = n_parts,
+      n_minifigs = n_minifigs
+    )
+  )
+}
+ + +
+ +
+ +
+ + + + + \ No newline at end of file diff --git a/materials/d1-9001-loadtesting/index.html b/materials/d1-9001-loadtesting/index.html index 118cd24..d5b8d83 100644 --- a/materials/d1-9001-loadtesting/index.html +++ b/materials/d1-9001-loadtesting/index.html @@ -484,7 +484,7 @@

The log

{"type":"WS_SEND","begin":"2023-09-07T13:04:17.805Z","message":"[\"D#0|m|{\\\"method\\\":\\\"update\\\",\\\"data\\\":{\\\"n_parts_display\\\":\\\"20\\\"}}\"]"} {"type":"WS_CLOSE","begin":"2023-09-07T13:04:35.561Z"}
-
+
diff --git a/schedule.html b/schedule.html index 6b2b938..8d451ce 100644 --- a/schedule.html +++ b/schedule.html @@ -206,7 +206,7 @@

Workshop Schedule

- + 9:00 - 9:30 @@ -217,7 +217,7 @@

Workshop Schedule

Eric Nantz & Michael Thomas - + 9:30 - 10:30 @@ -228,7 +228,7 @@

Workshop Schedule

Eric Nantz & Michael Thomas - + 10:30 - 11:00 @@ -239,7 +239,7 @@

Workshop Schedule

  - + TBD @@ -250,7 +250,7 @@

Workshop Schedule

Eric Nantz & Michael Thomas - + 12:30 - 13:30 @@ -261,7 +261,7 @@

Workshop Schedule

  - + TBD @@ -272,7 +272,7 @@

Workshop Schedule

Eric Nantz & Michael Thomas - + 15:00 - 15:30 @@ -283,7 +283,7 @@

Workshop Schedule

  - + TBD diff --git a/search.json b/search.json index 384683c..b4f7076 100644 --- a/search.json +++ b/search.json @@ -111,6 +111,27 @@ "section": "Usage Metrics", "text": "Usage Metrics\nHow many users visited legobricksapp in last 28 days?\n\napp_guid <- \"fba6896e-49e4-45c6-856f-03a3bc4f498f\"\ntime_start <- Sys.Date() - lubridate::days(28)\nget_usage_shiny(\n client,\n content_guid = app_guid,\n limit = 100,\n from = time_start\n ) |>\n pull(user_guid) |>\n unique() |>\n length()\n\n[1] 4\n\n\n\n\nposit-conf-2023.github.io/shiny-r-prod" }, + { + "objectID": "materials/d1-02-structure/ex-1.html", + "href": "materials/d1-02-structure/ex-1.html", + "title": "Value Metrics Module", + "section": "", + "text": "The project used for this particular exercise is hosted on Posit Cloud in this space. The project for this exercise is called modules-exercise1." + }, + { + "objectID": "materials/d1-02-structure/ex-1.html#access-instructions", + "href": "materials/d1-02-structure/ex-1.html#access-instructions", + "title": "Value Metrics Module", + "section": "", + "text": "The project used for this particular exercise is hosted on Posit Cloud in this space. The project for this exercise is called modules-exercise1." + }, + { + "objectID": "materials/d1-02-structure/ex-1.html#exercise-instructions", + "href": "materials/d1-02-structure/ex-1.html#exercise-instructions", + "title": "Value Metrics Module", + "section": "Exercise Instructions", + "text": "Exercise Instructions\nYour task is to create a new Shiny module that displays three important metrics to the user:\n\nTotal number of sets\nTotal number of parts among the sets\nTotal number of mini-figures\n\nNote that these quantities are dependent on the user selections from the inputs contained in the left sidebar (theme, year, and parts range).\nKeeping with the overall user interface style, you are recommended to use the value_box function from the {bslib} package. The metrics can be derived using the function below. In the application code, you will find reactive data frames called sets_rv and part_meta_rv which can be used in the parameters of the function below.\n#' Derive key LEGO data set metrics\n#' \n#' @param sets_rv data frame containing sets information\n#' @param part_meta_rv data frame containing parts metadata information\n#' \n#' @import dplyr\nderive_widget_metrics <- function(sets_rv, part_meta_rv) {\n # number of sets\n n_sets <- length(unique(sets_rv$set_num))\n\n # number of parts\n n_parts <- sum(sets_rv$num_parts, na.rm = TRUE)\n\n # number of minifigs\n n_minifigs <- part_meta_rv |>\n summarize(total_minifigs = sum(minifig_ind)) |>\n collect() |>\n pull(total_minifigs)\n\n return(\n list(\n n_sets = n_sets,\n n_parts = n_parts,\n n_minifigs = n_minifigs\n )\n )\n}" + }, { "objectID": "materials/setup-resources/index.html#section-15", "href": "materials/setup-resources/index.html#section-15", @@ -251,6 +272,20 @@ "section": "", "text": "Warning\n\n\n\nThese slides are under construction and will be finalized prior to the workshop date.\n\n\nView slides in full screen" }, + { + "objectID": "units/d1-02-structure.html#code-along-examples", + "href": "units/d1-02-structure.html#code-along-examples", + "title": "Application Structure", + "section": "Code-Along Examples", + "text": "Code-Along Examples\n\n\n\n\n\nCode-Along\n\n\nTitle\n\n\n\n\n\n\n \n\n\nModules for LEGO attribute selections\n\n\n\n\n\nNo matching items" + }, + { + "objectID": "units/d1-02-structure.html#exercises", + "href": "units/d1-02-structure.html#exercises", + "title": "Application Structure", + "section": "Exercises", + "text": "Exercises\n\n\n\n\n\nExercise\n\n\nTitle\n\n\n\n\n\n\n \n\n\nValue Metrics Module\n\n\n\n\n\nNo matching items" + }, { "objectID": "units/d1-02b-break.html", "href": "units/d1-02b-break.html", @@ -643,6 +678,41 @@ "section": "To () or not to ()", "text": "To () or not to ()\n\n\n# app server\nsets_rv <- reactive({\n # processing\n})\n\nset_picker_server(\"mod1\", sets_rv)\n\nset_picker_server <- function(id, sets_rv) {\n moduleServer(\n id,\n function(input, output, session) {\n # ...\n\n set_selection <- reactive({\n input$set_num\n })\n\n set_selection\n }\n )\n}\n\n\n\nReactive parameters reference by name: sets_rv\nInside module, invoke reactive parameter as you would any other reactive in Shiny: sets_rv()\nAny reactive(s) returned by module should also be reference by name: set_selection, set_selection()\n\n\n\nposit-conf-2023.github.io/shiny-r-prod" }, + { + "objectID": "materials/d1-02-structure/codealong-1.html", + "href": "materials/d1-02-structure/codealong-1.html", + "title": "Modules for LEGO attribute selections", + "section": "", + "text": "As you make the transition to building production Shiny applications, Shiny modules are a very important tool to improve code organization and overall flow of your application. We will work together to build Shiny modules that let the user filter the underlying LEGO metadata based on a key variables in the overall data." + }, + { + "objectID": "materials/d1-02-structure/codealong-1.html#requirements", + "href": "materials/d1-02-structure/codealong-1.html#requirements", + "title": "Modules for LEGO attribute selections", + "section": "Requirements", + "text": "Requirements\nCreste three inputs for the user to subset the LEGO metadata by the following key variables:\n\nTheme(s) associated with sets. Default should be all sets, but let the user customize selections with a search box.\nYear range for when set was created. Give the user a visual cue of how many sets are present in each year.\nPre-defined ranges for how many parts are present in each set. Ranges are the following:\n\nSmall (1-50 parts)\nMedium (51-200 parts)\nLarge (201 or more parts)\nAll sizes" + }, + { + "objectID": "materials/d1-02-structure/codealong-1.html#data", + "href": "materials/d1-02-structure/codealong-1.html#data", + "title": "Modules for LEGO attribute selections", + "section": "Data", + "text": "Data\nThe following data sets included in the application contain the variables needed for the requirements (note that these snippets are a reduced sample of each source data set).\n\nsets\n\ndplyr::glimpse(sets)\n\n\n\nRows: 368\nColumns: 6\n$ set_num <chr> \"001-1\", \"002-1\", \"1030-1\", \"1038-1\", \"1039-1\", \"1237-1\", \"1…\n$ name <chr> \"Gears\", \"4.5V Samsonite Gears Motor Set\", \"TECHNIC I: Simpl…\n$ year <dbl> 1965, 1965, 1985, 1985, 1986, 2001, 1999, 1999, 1999, 1999, …\n$ theme_id <dbl> 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, …\n$ num_parts <dbl> 43, 3, 210, 120, 39, 56, 30, 29, 28, 26, 28, 103, 98, 64, 28…\n$ img_url <chr> \"https://cdn.rebrickable.com/media/sets/001-1.jpg\", \"https:/…\n\n\n\n\nthemes\n\ndplyr::glimpse(themes)\n\n\n\nRows: 30\nColumns: 3\n$ theme_id <dbl> 191, 708, 693, 398, 650, 234, 56, 604, 136, 736, 692, 676, 2…\n$ name <chr> \"Dark Forest\", \"The LEGO Batman Movie\", \"Monkie Kid\", \"FIRST…\n$ parent_id <dbl> 186, 697, NA, NA, 632, 233, 52, NA, 126, 501, 535, NA, 227, …" + }, + { + "objectID": "materials/d1-02-structure/codealong-1.html#plan", + "href": "materials/d1-02-structure/codealong-1.html#plan", + "title": "Modules for LEGO attribute selections", + "section": "Plan", + "text": "Plan\n\nCreate a new module R script (and possible a supporting R script) by using golem::add_module() in the dev/02_dev.R script.\nPick a Shiny input type that matches our requirements.\nEnsure the server-side portion of the module returns the result of the selection, with additional post-processing if necessary.\nPlug in the UI and server-side portions of the module in the main app_ui.R and app_server.R files, respectively." + }, + { + "objectID": "materials/d1-02-structure/codealong-1.html#solution-theme-picker", + "href": "materials/d1-02-structure/codealong-1.html#solution-theme-picker", + "title": "Modules for LEGO attribute selections", + "section": "Solution (Theme Picker)", + "text": "Solution (Theme Picker)\nCreate the module file with the following snippet:\n\ngolem::add_module(name = \"theme_picker\", with_test = FALSE)\n\nWhile we could choose a selectInput that displays the name of the theme as the choices and allow multiple to be selected, we want to incorporate a search box with snappy performance. The virtualSelectInput from the {shinyWidgets} package is an excellent solution.\nSince we have the themes data set available, we can also leverage the supporting function shinyWidgets::prepare_choices() to get the possible choices ready for the input. The module will simply return the selection as a reactive variable.\n\n# UI portion\nmod_theme_picker_ui <- function(id, label = NULL) {\n ns <- NS(id)\n\n themes <- dplyr::arrange(themes, name)\n\n choices_list <- shinyWidgets::prepare_choices(\n themes,\n label = name,\n value = theme_id\n )\n\n tagList(\n virtualSelectInput(\n ns(\"virt_theme_id\"),\n label = label,\n choices = choices_list,\n selected = themes$theme_id,\n multiple = TRUE,\n search = TRUE\n )\n )\n}\n\n# server portion\nmod_theme_picker_server <- function(id){\n moduleServer( id, function(input, output, session){\n ns <- session$ns\n\n return(reactive(input$virt_theme_id))\n })\n}\n\nAt the bottom of the module script, {golem} automatically includes commented code for referencing the module UI and server blocks in your main Shiny application. We can copy them into the app_ui.R and app_server.R files.\n\n# app_ui.R\nmod_theme_picker_ui(\"theme_picker_1\")\n\n# app_server.R\ninput_theme_ids <- mod_theme_picker_server(\"theme_picker_1\")" + }, { "objectID": "materials/profvis/index.html#what-is-profvis", "href": "materials/profvis/index.html#what-is-profvis", diff --git a/sitemap.xml b/sitemap.xml index a9713df..a48db1f 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,78 +2,86 @@ https://posit-conf-2023.github.io/shiny-r-prod/materials/d1-03-performance/index.html - 2023-09-17T00:18:30.534Z + 2023-09-17T01:31:51.699Z https://posit-conf-2023.github.io/shiny-r-prod/materials/d1-04-deploy-admin/index.html - 2023-09-17T00:18:30.554Z + 2023-09-17T01:31:51.739Z + + + https://posit-conf-2023.github.io/shiny-r-prod/materials/d1-02-structure/ex-1.html + 2023-09-17T01:31:51.699Z https://posit-conf-2023.github.io/shiny-r-prod/materials/setup-resources/index.html - 2023-09-17T00:18:30.602Z + 2023-09-17T01:31:51.787Z https://posit-conf-2023.github.io/shiny-r-prod/materials/d1-01-welcome/index.html - 2023-09-17T00:18:30.518Z + 2023-09-17T01:31:51.683Z https://posit-conf-2023.github.io/shiny-r-prod/units/d1-01-welcome.html - 2023-09-17T00:18:30.606Z + 2023-09-17T01:31:51.791Z https://posit-conf-2023.github.io/shiny-r-prod/units/d1-04-deploy-admin.html - 2023-09-17T00:18:30.606Z + 2023-09-17T01:31:51.791Z https://posit-conf-2023.github.io/shiny-r-prod/units/d1-02-structure.html - 2023-09-17T00:18:30.606Z + 2023-09-17T01:31:51.791Z https://posit-conf-2023.github.io/shiny-r-prod/units/d1-02b-break.html - 2023-09-17T00:18:30.606Z + 2023-09-17T01:31:51.791Z https://posit-conf-2023.github.io/shiny-r-prod/schedule.html - 2023-09-17T00:18:30.602Z + 2023-09-17T01:31:51.787Z https://posit-conf-2023.github.io/shiny-r-prod/index.html - 2023-09-17T00:18:30.494Z + 2023-09-17T01:31:51.659Z https://posit-conf-2023.github.io/shiny-r-prod/LICENSE.html - 2023-09-17T00:18:30.430Z + 2023-09-17T01:31:51.599Z https://posit-conf-2023.github.io/shiny-r-prod/units/d1-03b-lunch.html - 2023-09-17T00:18:30.606Z + 2023-09-17T01:31:51.791Z https://posit-conf-2023.github.io/shiny-r-prod/units/d1-04b-break.html - 2023-09-17T00:18:30.606Z + 2023-09-17T01:31:51.791Z https://posit-conf-2023.github.io/shiny-r-prod/units/d1-03-performance.html - 2023-09-17T00:18:30.606Z + 2023-09-17T01:31:51.791Z https://posit-conf-2023.github.io/shiny-r-prod/units/d1-9001-loadtesting.html - 2023-09-17T00:18:30.606Z + 2023-09-17T01:31:51.791Z https://posit-conf-2023.github.io/shiny-r-prod/setup.html - 2023-09-17T00:18:30.602Z + 2023-09-17T01:31:51.787Z https://posit-conf-2023.github.io/shiny-r-prod/materials/d1-9001-loadtesting/index.html - 2023-09-17T00:18:30.566Z + 2023-09-17T01:31:51.751Z https://posit-conf-2023.github.io/shiny-r-prod/materials/d1-02-structure/index.html - 2023-09-17T00:18:30.534Z + 2023-09-17T01:31:51.699Z + + + https://posit-conf-2023.github.io/shiny-r-prod/materials/d1-02-structure/codealong-1.html + 2023-09-17T01:31:51.699Z https://posit-conf-2023.github.io/shiny-r-prod/materials/profvis/index.html - 2023-09-17T00:18:30.566Z + 2023-09-17T01:31:51.751Z diff --git a/units/d1-02-structure.html b/units/d1-02-structure.html index 2d73dae..cf875e2 100644 --- a/units/d1-02-structure.html +++ b/units/d1-02-structure.html @@ -81,9 +81,9 @@ } const options = { - valueNames: ['listing-subtitle','listing-title',{ data: ['index'] },{ data: ['categories'] }], + valueNames: ['listing-subtitle','listing-title',{ data: ['index'] },{ data: ['categories'] },{ data: ['listing-date-sort'] },{ data: ['listing-title-sort'] }], - searchColumns: [], + searchColumns: ["listing-title","listing-author"], }; window['quarto-listings'] = window['quarto-listings'] || {}; @@ -94,6 +94,34 @@ } }); + window.addEventListener('hashchange',() => { + if (window['quarto-listing-loaded']) { + window['quarto-listing-loaded'](); + } + }) + + + window.document.addEventListener("DOMContentLoaded", function (_event) { + const listingTargetEl = window.document.querySelector('#listing-code-along .list'); + if (!listingTargetEl) { + // No listing discovered, do not attach. + return; + } + + const options = { + valueNames: ['listing-subtitle','listing-title',{ data: ['index'] },{ data: ['categories'] },{ data: ['listing-date-sort'] },{ data: ['listing-title-sort'] }], + + searchColumns: ["listing-title","listing-author"], + }; + + window['quarto-listings'] = window['quarto-listings'] || {}; + window['quarto-listings']['listing-code-along'] = new List('listing-code-along', options); + + if (window['quarto-listing-loaded']) { + window['quarto-listing-loaded'](); + } + }); + window.addEventListener('hashchange',() => { if (window['quarto-listing-loaded']) { window['quarto-listing-loaded'](); @@ -156,6 +184,8 @@

On this page

@@ -210,12 +240,40 @@

Slides

View slides in full screen

- - - - -
+
+

Code-Along Examples

+
+ + + + + + + + + + + + + +
+Code-Along + +Title +
+  + +Modules for LEGO attribute selections +
+
+No matching items +
+
+
+
+

Exercises

+
@@ -228,12 +286,26 @@

Slides

+ + + +
+  + +Value Metrics Module +
No matching items
-
+
+ + + + + +