Skip to content

Commit

Permalink
feat: re-rendered tweaked homepage/website structure
Browse files Browse the repository at this point in the history
  • Loading branch information
njlyon0 committed Aug 22, 2024
1 parent d9bf345 commit 7ee7ba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _freeze/index/execute-results/html.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"hash": "f1681b1f3333464d2082efe471d54dd9",
"hash": "8bbe1fb855341ce9289be59b5fb938ae",
"result": {
"engine": "knitr",
"markdown": "---\ntitle: \"Overview\"\n---\n\n\n### Welcome!\n\nThis workshop provides an overview of many of the packages included in the Tidyverse suite of packages for the R programming language. The Tidyverse is a veritable universe of tools though that no single workshop could hope to cover so **we are focusing here on an introductory approach that focuses primarily on some fundamentals to tidying data in R**. We are always happy to improve workshop content so please don't hesitate to [post an Issue](https://github.com/lter/workshop-tidyverse/issues) on our GitHub repository if you see clear areas for improvement!\n\n<img src = \"images/hex_tidyverse.png\" align = \"right\" width = \"17%\" />\n\nTo maximize the value of this workshop to you, we recommend that you take the following steps **before the day of the workshop**. If anything is unclear, feel free to reach out to us; our contact information can be found in the \"Content Creators\" tab.\n\n## Programs to Install\n\n### R & RStudio\n\n**Install [R](https://www.r-project.org/) and its more convenient (in our opinion) user-interface: [RStudio](https://www.rstudio.com/products/rstudio/download/)**.\n\nIf you already have R, check that you have at least version 4.0.0 by running the following code:\n\n\n::: {.cell}\n\n```{.r .cell-code}\nversion$version.string\n```\n:::\n\n\nIf your version starts with a 3 (e.g., the above code returns \"R version 3...\"), please update R to make sure all packages behave as expected.\n\n### R Packages\n\n**Install the `tidyverse` and `palmerpenguins` R packages** using the following code:\n\n\n::: {.cell}\n\n```{.r .cell-code}\ninstall.packages(c(\"tidyverse\", \"palmerpenguins\"))\nlibrary(tidyverse)\nlibrary(palmerpenguins)\n```\n:::\n\n\n**Please run the above code even if you already have these packages** to update these packages and ensure that your code aligns with the examples and challenges introduced during the workshop.\n\n## Penguin Data\n\nThe data we'll be using for this workshop comes from the `palmerpenguins` package, maintained by [Allison Horst](mailto:ahorst@ucsb.edu). The \"penguins\" dataset from this package contains size measurements for adult foraging penguins near Palmer Station, Antarctica. Data were collected and made available by Dr. Kristen Gorman and the Palmer Station Long Term Ecological Research (LTER) Program. Let's take a look at it!\n\n\n::: {.cell}\n\n:::\n\n::: {.cell}\n\n```{.r .cell-code}\npenguins\n```\n\n::: {.cell-output .cell-output-stdout}\n\n```\n# A tibble: 344 × 8\n species island bill_length_mm bill_depth_mm flipper_length_mm body_mass_g\n <fct> <fct> <dbl> <dbl> <int> <int>\n 1 Adelie Torgersen 39.1 18.7 181 3750\n 2 Adelie Torgersen 39.5 17.4 186 3800\n 3 Adelie Torgersen 40.3 18 195 3250\n 4 Adelie Torgersen NA NA NA NA\n 5 Adelie Torgersen 36.7 19.3 193 3450\n 6 Adelie Torgersen 39.3 20.6 190 3650\n 7 Adelie Torgersen 38.9 17.8 181 3625\n 8 Adelie Torgersen 39.2 19.6 195 4675\n 9 Adelie Torgersen 34.1 18.1 193 3475\n10 Adelie Torgersen 42 20.2 190 4250\n# ℹ 334 more rows\n# ℹ 2 more variables: sex <fct>, year <int>\n```\n\n\n:::\n:::\n\n\nThe \"penguins\" dataset has 344 rows and 8 columns.\n\nThe columns are as follows:\n\n`species`: a factor denoting penguin species (Adélie, Chinstrap and Gentoo)\n\n`island`: a factor denoting island in Palmer Archipelago, Antarctica (Biscoe, Dream or Torgersen)\n\n`bill_length_mm`: a number denoting bill length (millimeters)\n\n`bill_depth_mm`: a number denoting bill depth (millimeters)\n\n`flipper_length_mm`: an integer denoting flipper length (millimeters)\n\n`body_mass_g`: an integer denoting body mass (grams)\n\n`sex`: a factor denoting penguin sex (female, male)\n\n`year`: an integer denoting the study year (2007, 2008, or 2009)\n\nThis dataset is an example of **tidy data**, which means that each **variable** is in its own **column** and each **observation** is in its own **row**. Generally speaking, functions from packages in the Tidyverse expect tidy data though they can be used in some cases to help get data into tidy format! Regardless, the penguins dataset is what we'll use for all examples in this workshop so be sure that you install the `palmerpenguins` R package. The examples on this page were adapted from [Allison Horst's `dplyr` tutorial](https://allisonhorst.shinyapps.io/dplyr-learnr/#section-welcome)!\n\n## Websites to Visit\n\n### Supplemental Material\n\nWhile not technically necessary to attend the workshop, if you'd like you can see the content that created the workshop website you are viewing by visiting our [GitHub repository here](https://github.com/lter/workshop-tidyverse).\n\nAlso, check out **NCEAS' [Learning Hub](https://www.nceas.ucsb.edu/learning-hub)** for a complete list of workshops and trainings offered by NCEAS.\n",
"markdown": "---\ntitle: \"Overview\"\n---\n\n\n### Welcome!\n\nThis workshop provides an overview of many of the packages included in the Tidyverse suite of packages for the R programming language. The Tidyverse is a veritable universe of tools though that no single workshop could hope to cover so **we are focusing here on an introductory approach that focuses primarily on some fundamentals to tidying data in R**. We are always happy to improve workshop content so please don't hesitate to [post an Issue](https://github.com/lter/workshop-tidyverse/issues) on our GitHub repository if you see clear areas for improvement!\n\n<img src=\"images/logos/hex_tidyverse.png\" alt=\"Hex logo for the Tidyverse R package\" align=\"right\" width=\"17%\" />\n\nTo maximize the value of this workshop to you, we recommend that you take the following steps **before the day of the workshop**. If anything is unclear, feel free to reach out to us; our contact information can be found [here](https://lter.github.io/scicomp/staff.html)\n\n## Programs to Install\n\n### R & RStudio\n\n**Install [R](https://www.r-project.org/) and its more convenient (in our opinion) user-interface: [RStudio](https://www.rstudio.com/products/rstudio/download/)**.\n\nIf you already have R, check that you have at least version 4.0.0 by running the following code:\n\n\n::: {.cell}\n\n```{.r .cell-code}\nversion$version.string\n```\n:::\n\n\nIf your version starts with a 3 (e.g., the above code returns \"R version 3...\"), please update R to make sure all packages behave as expected.\n\n### R Packages\n\n**Install the `tidyverse` and `palmerpenguins` R packages** using the following code:\n\n\n::: {.cell}\n\n```{.r .cell-code}\ninstall.packages(c(\"tidyverse\", \"palmerpenguins\"))\nlibrary(tidyverse)\nlibrary(palmerpenguins)\n```\n:::\n\n\n**Please run the above code even if you already have these packages** to update these packages and ensure that your code aligns with the examples and challenges introduced during the workshop.\n\n## Penguin Data\n\nThe data we'll be using for this workshop comes from the `palmerpenguins` package, maintained by [Allison Horst](https://allisonhorst.com/). The \"penguins\" dataset from this package contains size measurements for adult foraging penguins near Palmer Station, Antarctica. Data were collected and made available by Dr. Kristen Gorman and the Palmer Station Long Term Ecological Research (LTER) Program. Let's take a look at it!\n\n\n::: {.cell}\n\n:::\n\n::: {.cell}\n\n```{.r .cell-code}\npenguins\n```\n\n::: {.cell-output .cell-output-stdout}\n\n```\n# A tibble: 344 × 8\n species island bill_length_mm bill_depth_mm flipper_length_mm body_mass_g\n <fct> <fct> <dbl> <dbl> <int> <int>\n 1 Adelie Torgersen 39.1 18.7 181 3750\n 2 Adelie Torgersen 39.5 17.4 186 3800\n 3 Adelie Torgersen 40.3 18 195 3250\n 4 Adelie Torgersen NA NA NA NA\n 5 Adelie Torgersen 36.7 19.3 193 3450\n 6 Adelie Torgersen 39.3 20.6 190 3650\n 7 Adelie Torgersen 38.9 17.8 181 3625\n 8 Adelie Torgersen 39.2 19.6 195 4675\n 9 Adelie Torgersen 34.1 18.1 193 3475\n10 Adelie Torgersen 42 20.2 190 4250\n# ℹ 334 more rows\n# ℹ 2 more variables: sex <fct>, year <int>\n```\n\n\n:::\n:::\n\n\nThe \"penguins\" dataset has 344 rows and 8 columns.\n\nThe columns are as follows:\n\n- `species`: a factor denoting penguin species (Adélie, Chinstrap and Gentoo)\n- `island`: a factor denoting island in Palmer Archipelago, Antarctica (Biscoe, Dream or Torgersen)\n- `bill_length_mm`: a number denoting bill length (millimeters)\n- `bill_depth_mm`: a number denoting bill depth (millimeters)\n- `flipper_length_mm`: an integer denoting flipper length (millimeters)\n- `body_mass_g`: an integer denoting body mass (grams)\n- `sex`: a factor denoting penguin sex (female, male)\n- `year`: an integer denoting the study year (2007, 2008, or 2009)\n\nThis dataset is an example of **tidy data**, which means that each **variable** is in its own **column** and each **observation** is in its own **row**. Generally speaking, functions from packages in the Tidyverse expect tidy data though they can be used in some cases to help get data into tidy format! Regardless, the penguins dataset is what we'll use for all examples in this workshop so be sure that you install the `palmerpenguins` R package. The examples on this page were adapted from [Allison Horst's `dplyr` tutorial](https://allisonhorst.shinyapps.io/dplyr-learnr/#section-welcome)!\n\n## Websites to Visit\n\n### Supplemental Material\n\nWhile not technically necessary to attend the workshop, if you'd like you can see the content that created the workshop website you are viewing by visiting our [GitHub repository here](https://github.com/lter/workshop-tidyverse).\n\nAlso, check out **NCEAS' [Learning Hub](https://www.nceas.ucsb.edu/learning-hub)** for a complete list of workshops and trainings offered by NCEAS.\n",
"supporting": [],
"filters": [
"rmarkdown/pagebreak.lua"
Expand Down

0 comments on commit 7ee7ba1

Please sign in to comment.