diff --git a/.nojekyll b/.nojekyll index 7f3345c..ccfa704 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -b6791843 \ No newline at end of file +5b4a50f9 \ No newline at end of file diff --git a/blogs/index.html b/blogs/index.html index 3f29310..f411cb2 100644 --- a/blogs/index.html +++ b/blogs/index.html @@ -202,7 +202,7 @@

Data Science Blog

-
+
@@ -237,7 +237,7 @@

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

-
+
@@ -310,7 +310,7 @@

-
+
@@ -348,7 +348,7 @@

-
+
diff --git a/blogs/index.xml b/blogs/index.xml index eec5071..247dd55 100644 --- a/blogs/index.xml +++ b/blogs/index.xml @@ -275,23 +275,23 @@ font-style: inherit;">gt()
-
- @@ -847,8 +847,8 @@ background-color: null; font-style: inherit;">pal(has_orig_need))
-
- +
+

The data was split into those with, and without, a value for need. Using st_join from the {sf} package to join those without, and those with, a value for need, using the geometry to find all those within 1500m (1.5km).

@@ -1007,8 +1007,8 @@ background-color: null; font-style: inherit;">1500)
-
- +
+

The data for the “neighbours” was grouped by the practice code of those without need data and a mean value was calculated for each practice to generate an estimated value.

@@ -1081,23 +1081,23 @@ font-style: inherit;">gt()
-
- @@ -1627,23 +1627,23 @@ font-style: inherit;">select(practice_code,need_to_use)

-
- diff --git a/blogs/posts/2024-01-17_nearest_neighbour.html b/blogs/posts/2024-01-17_nearest_neighbour.html index c9b71ab..0e8af45 100644 --- a/blogs/posts/2024-01-17_nearest_neighbour.html +++ b/blogs/posts/2024-01-17_nearest_neighbour.html @@ -279,23 +279,23 @@

Nearest neighbour imputation

-
- @@ -833,8 +833,8 @@

Nearest neighbour imputation

addCircleMarkers(color = ~pal(has_orig_need))
-
- +
+

The data was split into those with, and without, a value for need. Using st_join from the {sf} package to join those without, and those with, a value for need, using the geometry to find all those within 1500m (1.5km).

@@ -867,8 +867,8 @@

Nearest neighbour imputation

addCircles(-1.46927, 52.51899,radius=1500)
-
- +
+

The data for the “neighbours” was grouped by the practice code of those without need data and a mean value was calculated for each practice to generate an estimated value.

@@ -893,23 +893,23 @@

Nearest neighbour imputation

-
- @@ -1417,23 +1417,23 @@

Nearest neighbour imputation

-
- diff --git a/presentations/2023-08-23_nhs-r_unit-testing/index.html b/presentations/2023-08-23_nhs-r_unit-testing/index.html index 7ffade6..621ab14 100644 --- a/presentations/2023-08-23_nhs-r_unit-testing/index.html +++ b/presentations/2023-08-23_nhs-r_unit-testing/index.html @@ -733,7 +733,7 @@

… and create our first test

) })
-
Test passed 🌈
+
Test passed 😀
@@ -755,7 +755,7 @@

other expect_*() functions…

) })
-
Test passed 🥳
+
Test passed 🎊
-
Test passed 🎉
+
Test passed 🥳
@@ -973,14 +973,14 @@

Another (simple) example

expect_equal(my_new_function(4, 3), "x") })
-
Test passed 🥇
+
Test passed 🎊
test_that("it returns 'y' if y is bigger than x", {
   expect_equal(my_new_function(3, 4), "y")
   expect_equal(my_new_function(3, 3), "y")
 })
-
Test passed 🎊
+
Test passed 😀
diff --git a/presentations/2023-08-24_coffee-and-coding_geospatial/index.html b/presentations/2023-08-24_coffee-and-coding_geospatial/index.html index 96e5ac0..881377a 100644 --- a/presentations/2023-08-24_coffee-and-coding_geospatial/index.html +++ b/presentations/2023-08-24_coffee-and-coding_geospatial/index.html @@ -655,8 +655,8 @@

Creating a geospatial data frame for all NHS Trusts

-
- +
+
@@ -730,8 +730,8 @@

Let’s show the routes

addPolylines(color = "black", weight = 3, opacity = 1) |> addCircleMarkers(data = nearest_trusts, radius = 4, opacity = 1, fillOpacity = 1)
-
- +
+
@@ -762,8 +762,8 @@

We can use {osrm} to calculate isochrones

-
- +
+
@@ -838,8 +838,8 @@

What trusts are in the isochrones?

-
- +
+
@@ -877,8 +877,8 @@

Doing the same but within a radius

-
- +
+
diff --git a/presentations/2023-08-24_coffee-and-coding_geospatial/index_files/figure-revealjs/icb-metrics-1.png b/presentations/2023-08-24_coffee-and-coding_geospatial/index_files/figure-revealjs/icb-metrics-1.png index 8abb551..3d6a556 100644 Binary files a/presentations/2023-08-24_coffee-and-coding_geospatial/index_files/figure-revealjs/icb-metrics-1.png and b/presentations/2023-08-24_coffee-and-coding_geospatial/index_files/figure-revealjs/icb-metrics-1.png differ diff --git a/presentations/2023-10-09_nhs-r_conf_sd_in_health_social_care/index.html b/presentations/2023-10-09_nhs-r_conf_sd_in_health_social_care/index.html index 7460b59..b59d3f9 100644 --- a/presentations/2023-10-09_nhs-r_conf_sd_in_health_social_care/index.html +++ b/presentations/2023-10-09_nhs-r_conf_sd_in_health_social_care/index.html @@ -1358,12 +1358,12 @@

in R - flows

# Groups: date_admit [6] date_admit n <date> <int> -1 2022-01-01 23 -2 2022-01-02 31 -3 2022-01-03 25 -4 2022-01-04 20 -5 2022-01-05 23 -6 2022-01-06 23 +1 2022-01-01 22 +2 2022-01-02 25 +3 2022-01-03 23 +4 2022-01-04 24 +5 2022-01-05 33 +6 2022-01-06 25 @@ -1492,12 +1492,12 @@

Longer Time Periods - flows

# A tibble: 6 × 2
   week_start     n
   <date>     <int>
-1 2021-12-27    54
-2 2022-01-03   177
-3 2022-01-10   184
-4 2022-01-17   180
-5 2022-01-24   178
-6 2022-01-31   172
+1 2021-12-27 47 +2 2022-01-03 198 +3 2022-01-10 193 +4 2022-01-17 198 +5 2022-01-24 221 +6 2022-01-31 184