From 401b677a82d27251e5848df017bf22d307eca8d1 Mon Sep 17 00:00:00 2001 From: Tom Albone Date: Mon, 2 Dec 2024 15:11:02 +0000 Subject: [PATCH] Updates in preperation for release and opening of repo visibility --- .gitignore | 4 +++- CH1_getting_started.qmd | 1 + CH2_data_structures.qmd | 1 + CH3_import_export.qmd | 1 + CH4_tibbles_dplyr.qmd | 1 + CH5_summary_agg.qmd | 1 + CH6_case_study.qmd | 1 + CH7_control_flow_loops_and_functions.qmd | 1 + _quarto.yml | 3 +++ datasets.qmd | 26 ++++++++++++++++++++++++ index.qmd | 13 +++++------- 11 files changed, 44 insertions(+), 9 deletions(-) create mode 100644 datasets.qmd diff --git a/.gitignore b/.gitignore index f2eb056..2caa10b 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,8 @@ # Quarto /.quarto/ _site/ +_environment.local # Mac users -.DS_STORE \ No newline at end of file +.DS_STORE +/_*.local diff --git a/CH1_getting_started.qmd b/CH1_getting_started.qmd index 35cb487..87dbac9 100644 --- a/CH1_getting_started.qmd +++ b/CH1_getting_started.qmd @@ -5,6 +5,7 @@ engine: knitr execute: echo: true eval: false + freeze: auto # re-render only when source changes --- > To switch between light and dark modes, use the toggle in the top left diff --git a/CH2_data_structures.qmd b/CH2_data_structures.qmd index 8ac9dd0..7534698 100644 --- a/CH2_data_structures.qmd +++ b/CH2_data_structures.qmd @@ -5,6 +5,7 @@ engine: knitr execute: echo: true eval: true + freeze: auto # re-render only when source changes --- > To switch between light and dark modes, use the toggle in the top left diff --git a/CH3_import_export.qmd b/CH3_import_export.qmd index 0f0e069..1d40067 100644 --- a/CH3_import_export.qmd +++ b/CH3_import_export.qmd @@ -5,6 +5,7 @@ engine: knitr execute: echo: true eval: false + freeze: auto # re-render only when source changes --- > To switch between light and dark modes, use the toggle in the top left diff --git a/CH4_tibbles_dplyr.qmd b/CH4_tibbles_dplyr.qmd index 4a79707..860ed93 100644 --- a/CH4_tibbles_dplyr.qmd +++ b/CH4_tibbles_dplyr.qmd @@ -5,6 +5,7 @@ engine: knitr execute: echo: true eval: false + freeze: auto # re-render only when source changes --- > To switch between light and dark modes, use the toggle in the top left diff --git a/CH5_summary_agg.qmd b/CH5_summary_agg.qmd index fc3c53f..05c5e6d 100644 --- a/CH5_summary_agg.qmd +++ b/CH5_summary_agg.qmd @@ -5,6 +5,7 @@ engine: knitr execute: echo: true eval: false + freeze: auto # re-render only when source changes --- > To switch between light and dark modes, use the toggle in the top left diff --git a/CH6_case_study.qmd b/CH6_case_study.qmd index c8d19c3..be3d0a7 100644 --- a/CH6_case_study.qmd +++ b/CH6_case_study.qmd @@ -5,6 +5,7 @@ engine: knitr execute: echo: true eval: false + freeze: auto # re-render only when source changes --- > To switch between light and dark modes, use the toggle in the top left diff --git a/CH7_control_flow_loops_and_functions.qmd b/CH7_control_flow_loops_and_functions.qmd index 1e83f8e..d3bbf84 100644 --- a/CH7_control_flow_loops_and_functions.qmd +++ b/CH7_control_flow_loops_and_functions.qmd @@ -5,6 +5,7 @@ engine: knitr execute: echo: true eval: true + freeze: auto # re-render only when source changes --- > To switch between light and dark modes, use the toggle in the top left diff --git a/_quarto.yml b/_quarto.yml index cf1d0e8..acd8e89 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -3,6 +3,9 @@ project: website: title: "Introduction to R" + repo-url: https://github.com/datasciencecampus/af_introduction_to_r + repo-actions: [source, issue] + reader-mode: true sidebar: logo-href: /index.html style: "docked" diff --git a/datasets.qmd b/datasets.qmd new file mode 100644 index 0000000..c598502 --- /dev/null +++ b/datasets.qmd @@ -0,0 +1,26 @@ +--- +title: "Datasets" +author: "Government Analysis Function and ONS Data Science Campus" +engine: knitr +execute: + echo: true + eval: false +--- + +
+ +The datasets listed below are used throughout the course. + +

Download the bikes data (CSV, 54 KB)

+ +

Download the imbd scores (CSV, 204 KB)

+ +

Download the netflix data (CSV, 3.6 MB )

+ +

Download the police data (XLSX, 77 KB)

+ +

Download the revenue data (CSV, 1 KB)

+ +

Download the titanic cleaned data (CSV, 84 KB)

+ +

Download the titanic data (CSV, 86 KB)

\ No newline at end of file diff --git a/index.qmd b/index.qmd index 8ffc75b..ccd8b15 100644 --- a/index.qmd +++ b/index.qmd @@ -5,6 +5,7 @@ engine: knitr execute: echo: true eval: false + freeze: auto # re-render only when source changes format: html: highlight: null @@ -34,17 +35,13 @@ It is essential that you have frequent opportunities to practice what you have l # Course Materials -A folder containing the dataset and teaching files for the course will be provided or can be downloaded from the Learning Hub, please download and unzip this to folder you are familiar with. +The course materials come in several formats: -The course materials are in several folders: +* HTML pages such as the one you are reading now -* Additional Content - Documents etc to support the course. +* Data [](datasets.qmd) we will use during the course. **It's highly recommended you create a project with a 'data' folder and download all the required datasets before starting the course** -* Data - contains the data we will use during the course. - -* Course Content - Contains the learning Documents which are in html format. - -* Pre Course Information - Contains documents with instructions on how prepare for the course. +You can also navigate to the course Github Repository and clone or fork the website structure for yourself. If you are new to programming and version control, we recommend you remain on the website to gain the best experience. # Software Requirements