From c847cc424bd702745af736f65b6ddd9a75e562c5 Mon Sep 17 00:00:00 2001 From: James McMahon Date: Fri, 11 Aug 2023 11:35:42 +0100 Subject: [PATCH] Fix locality Tiny error and a simple fix. --- R/process_lookup_postcode.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/process_lookup_postcode.R b/R/process_lookup_postcode.R index 878c51f37..69cc13bd8 100644 --- a/R/process_lookup_postcode.R +++ b/R/process_lookup_postcode.R @@ -53,7 +53,7 @@ process_lookup_postcode <- function(spd_path = get_spd_path(), tidyselect::matches("datazone\\d{4}$") ) %>% dplyr::mutate( - locality = tidyr::replace_na("locality", "No Locality Information") + locality = tidyr::replace_na(.data$locality, "No Locality Information") )