From 72b9bc11170ffa07b4f9ce0309e91ecdcbd4542a Mon Sep 17 00:00:00 2001 From: Chris Beeley Date: Thu, 23 May 2024 09:32:40 +0100 Subject: [PATCH] Update NHSRpopulation.Rmd --- vignettes/NHSRpopulation.Rmd | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/vignettes/NHSRpopulation.Rmd b/vignettes/NHSRpopulation.Rmd index ddeac46..482a47d 100644 --- a/vignettes/NHSRpopulation.Rmd +++ b/vignettes/NHSRpopulation.Rmd @@ -17,14 +17,8 @@ following code to generate some random example postcodes: ```r -library(tibble) -library(NHSRpopulation) -postcodes <- c("HD1 2UT", "HD1 2UU", "HD1 2UV") - -tibble_postcodes <- postcodes |> - tibble::as_tibble() |> - dplyr::rename(postcode = value) +tibble_postcodes <- tibble::tibble(postcode = c("HD1 2UT", "HD1 2UU", "HD1 2UV")) tibble_postcodes #> # A tibble: 3 × 1